Having done that, I want the script to look for an image and only continue the script after locating the image. Please, I'm breaking my head and I can't!
Code: Select all
CoordMode Pixel
Loop {
MouseMove, 780, 111
Sleep, 1000
Send, {Ins}
Click, Left
If (ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, Burbles.png)
{
Send, {Ins}
Sleep, 2000
}
Return