Page 1 of 1

Image search loop dosent work

Posted: 10 Apr 2018, 09:03
by alberto
Loop {

ImageSearch, Px, Py, 577, 70, 670, 135, C:\Users\panf\Desktop\MAn\here.png
If ErrorLevel = 0
{
sleep,20
Send {8}
sleep,20
Send {2}
sleep,20
sleep,20
Send {2}
sleep,20
Send {escape}
sleep,20


sleep,20
Send {8}
sleep,20
Send {2}
sleep,20
sleep,20
Send {2}
sleep,20
Send {escape}
sleep,20


sleep,20
Send {8}
sleep,20
Send {2}
sleep,20
sleep,20
Send {2}
sleep,20
Send {escape}
sleep,20


sleep,20
Send {8}
sleep,20
Send {2}
sleep,20
sleep,20
Send {2}
sleep,20
Send {escape}
sleep,20

sleep,20
Send {8}
sleep,20
Send {2}
sleep,20
sleep,20
Send {2}
sleep,20
Send {escape}
sleep,20

}

return


0::pause
can someone help me how to make this script loop with image if image dissipiert "is not there anyome " to sent f12 im new with autohotkey i want imagesearch to work non stop so if image is not there to sent f12 on that moment "SOrry for my bad english

Re: Image search loop dosent work  Topic is solved

Posted: 10 Apr 2018, 16:21
by alexdubovyckvideos
add CoordMode Pixel, Window