← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #695612]: use wait with multiple images in findBest() before returning none

 

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

    Status: Open => Needs information

RaiMan requested more information:
I can implement a waitAny(time, images...) and a waitBest(time,
images...) in 2.0.5

How to interpret the wait time one can think of two variants:
- return on first match (behaviour like wait/exists)
- return the matches only after the given time has elapsed

For usages like resolution checks the first variant seems the right one,
since no other matches will be found.

The second variant is more like collect all within the given time.

What do you think?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.