Image search loop dosent work Topic is solved

Ask gaming related questions
alberto
Posts: 3
Joined: 10 Apr 2018, 08:57

Image search loop dosent work

10 Apr 2018, 09:03

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
alexdubovyckvideos
Posts: 9
Joined: 08 Apr 2018, 15:28

Re: Image search loop dosent work  Topic is solved

10 Apr 2018, 16:21

add CoordMode Pixel, Window

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 13 guests