Can I make a script wait until a bitmap shows up on the screen?
If so, would it look like this?
SCAR Code:program Help;
{.include SRL/SRL.scar}
var
x, y, Bitmap: Integer;
begin
procedure DeclareBMP;
begin
Bitmap := BitmapFromString(73, 1, 'beNo7seTOqZVo6NaJJUAEYWC' +
'VRVOG3wRchsARGherOAMDA1YFEHTz2GK4wxAKAIazpPE=');
end;
procedure WaitForBitmap;
begin
if not FindBitmap(Bitmap, x, y) then
repeat
Wait(10);
until(FindBitmap(Bitmap, x, y) true);
end;
begin
DeclareBMP;
WaitForBitmap;
end.



Reply With Quote










