← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680137]: repeat([waitTime]) how is this syntax with a region onchange?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
at beginning of handler just wait 3 seconds and then make your
compare/find logic on event.getRegion().

take a look at feature findAny(), which might be a bit faster with 10 images to search for, than doing this in a loop.
findAny() internally delegates the find op for each given image to a thread, so it works in parallel

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