Code: Select all
^d::
imgFound := false
while(imgFound = false)
{
imageSearch, x, y , 0, 0, 1000,600, LoL.png
if(x <> "")
{
Send, {Enter}
imgFound := true
}
}
return
With the above code, If "LoL.png" is found, Enter key gets pressed.
I want the Enter Key to get pressed when LoL.png is NOT found
Can someone please guide me ?
Regards.