We need to repeat certain code until an exact image appears on the screen. How to do this with Routine Bot?
Actually, the code for this is simple:
repeat
a:=MouseFocuse(‘test.bmp’);
// any other code
until a=1; // when image appears we exit the repeat…until interation
Leave a Reply