I need to repeat something untill a variable is 1.
pause (1000)
MouseClick("left",$x,$y,1,10)
$IS = _ImageSearch(@ScriptDir&"\Images\Icon.png",1,$x,$y ,100)
If $IS = 1 Then
so I want it to repeat every 10 sec : MouseClick("left",$x,$y,1,10)
untill it finds the image.
Yes I know this is really easy, but I couldn't find it in the help file.
pause (1000)
MouseClick("left",$x,$y,1,10)
$IS = _ImageSearch(@ScriptDir&"\Images\Icon.png",1,$x,$y ,100)
If $IS = 1 Then
so I want it to repeat every 10 sec : MouseClick("left",$x,$y,1,10)
untill it finds the image.
Yes I know this is really easy, but I couldn't find it in the help file.