How long does Image Search wait for an image ? Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Fulminare
Posts: 369
Joined: 26 Jun 2021, 20:15

How long does Image Search wait for an image ?

27 Sep 2021, 11:33

Hi

I have a doubt. This is the code for an image search

Code: Select all

imgFound := false
while(imgFound = false)
{
imageSearch, x, y , 0, 0, 1000,600, photo.png
if(x <> "")
{        
Sleep 100
Send #{Up}
imgFound := true
}
}
Can anyone please tell me how long will this keep searching for the image ?

Is there a time limit after which it performs the action it is supposed to anyway ? (even if the image is not found )

Regards
Rohwedder
Posts: 7679
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: How long does Image Search wait for an image ?  Topic is solved

27 Sep 2021, 11:45

Hallo,
forever without limit.
(Unless another thread changes imgFound or x.)

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], mikeyww and 240 guests