sorry for my bad english i got excuse of not speaking it properly
well this is the begin of my script , i've used tutorial so credits arent to me
im gonna add over 100+ bmps and i was wondering if som1 knew how to
make it easier to do the procedure usebitmap
//still working on it atm so its not this bad ! i did some of the job well i try
well this is the begin of my script , i've used tutorial so credits arent to me
im gonna add over 100+ bmps and i was wondering if som1 knew how to
make it easier to do the procedure usebitmap
//still working on it atm so its not this bad ! i did some of the job well i try
Code:
program BitmapExample6;
var
g1,g2,s1,s2: Integer;//bitmaps
x,y: Integer;
procedure LoadBmps;
begin
g1 := BitmapFromString(50, 59, 'beNrtXT2IZcUSnsV1FQURDAz8u' +
'cFLhA0020CNhAUjkQdiNqDCaKLIBqO4omCwgSuCySgIF00VBBFFMD' +
'MYNBYNFhx0QcUVFA0MNnnNNK9p+qdOdf11953b0Tqee053dVX393V' +
'VV+3sbNu2bdu2ufbf4wY8cMMNN9xxxx38D911112c37755puEZ77+' +
'+mvaF92rOB2G5blarW699VZOV5O+Sc0R0G49bkidsdRP1U8jn3zww' +
'QfzCa2J0T0c/vM///edited removed some uselesstexthere
g2 := BitmapFromString(28, 19, 'BeNrtXT2IZcUSnsV1FQURDAz8u' +
'cFLhA0020CNhAUjkQdiNqDCaKLIBqO4omCwgSuCySgIF00VBBFFMD' +
'MYNBYNFhx0QcUV
end;
procedure UseBitmap;
begin
if(FindBitmapIn(g1,x,y,191, 109,489, 293)) then
begin
sendkeys('g') //sendkeys('g1,org2g3g4 corresponding on which 1 it found
end;
end;
procedure FreeBmps;
begin
FreeBitmap(g1);//freebitmap g1 org2...etcagain:S
end;
begin
LoadBmps;
UseBitmap;
FreeBmps;
end.

