← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #264474]: What is the solution if I need to search more than one pictures in a region?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Not a feature currently.

indeed you have to use some loop around

if reg.exists(image, 0): break

If you do not know that already:
exists(image, 0)
returns immediately after on search try and does not wait the standard waiting time.

So depending on how many images are checked, this can still be rather
fast.

Version 2 will have a feature for that, internally multithreaded.

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