new girl69
2006-06-02 04:15:38
I just started scripting tonight. I am just writing a script to find the 'runescape client' and rename it to whatever…
I am getting stuck on what to do after it finds the bmp of the little sword icon.
Here I declare the var sword as the bmp…
Now I can't figure out the FindBitmap part.
Obviously I want the script to find the bitmap, then move the mouse to a random place on the bitmap (randomosity is obviously useless for now, but will be helpful when I make a rs script)
I also wasnt sure if using symbol procedures would be more appropriate?
I am getting stuck on what to do after it finds the bmp of the little sword icon.
Here I declare the var sword as the bmp…
procedure findfile;
var sword;
begin
sword := BitmapFromString(15, 13, 'z78DA9D94D10E802008457F8' +
'98DC6C6B3FFFF4F45E44003D2AE9BF56007BCDC05B02ABC05872C' +
'7DA7447A66097A9F2442AC8921B3ACE27911DBEE327F05D01A5FC' +
'A2AFEBBBBD6D49D39E2C7CCA86FE971263377F2C8B76E65374706' +
'DAE156E2A4913B1FD1A6864E1BD30FF8E6CF7CCF7D294158444A9' +
'667E6FF1EB3FBE9935BCFB762FA84CC1E7ABED66D4D12FA4E4296' +
'BAE75C994C753C4ED8D7DF60A387059D71A9E6E3');
Color := 3368550;
Now I can't figure out the FindBitmap part.
procedure findfile;
var sword;
begin
sword := BitmapFromString(15, 13, 'z78DA9D94D10E802008457F8' +
'98DC6C6B3FFFF4F45E44003D2AE9BF56007BCDC05B02ABC05872C' +
'7DA7447A66097A9F2442AC8921B3ACE27911DBEE327F05D01A5FC' +
'A2AFEBBBBD6D49D39E2C7CCA86FE971263377F2C8B76E65374706' +
'DAE156E2A4913B1FD1A6864E1BD30FF8E6CF7CCF7D294158444A9' +
'667E6FF1EB3FBE9935BCFB762FA84CC1E7ABED66D4D12FA4E4296' +
'BAE75C994C753C4ED8D7DF60A387059D71A9E6E3');
Color := 3368550;
If (FindBitmap(bitmap: Integer; var x, y: Integer):
Obviously I want the script to find the bitmap, then move the mouse to a random place on the bitmap (randomosity is obviously useless for now, but will be helpful when I make a rs script)
I also wasnt sure if using symbol procedures would be more appropriate?