← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #194144]: rc3 How to turn OFF the text image searching which causes all 0.01 duration exists() fails, to take over TWO SECONDS

 

Question #194144 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/194144

    Status: Open => Answered

RaiMan proposed the following answer:
As far as I know:
The text recognition process is only entered, if the given "some-image.png" cannot be found in the image repository (the file is not found in the image path).
If the image file exists, the standard search takes place, which is extended up to the 3 seconds standard waiting time.

If you want exists() to return after one search, no matter wether found
or not, use

exists("some-image.png", 0)

I guess, this is what you need.

Since I am RaiMan I have to add:
All this can be found in the docs ;-)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.