← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #267725]: How to change findAll WaitTimeout individually

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
At time of creation of a new region, this region takes the standard wait
time currently stored with Settings.AutoWaitTimeout.

For an existing region, you can use Region.setAutoWaitTimeout() to
adjust the value for this region.

In scripting, when using the whole screen with just
findAll(img)

instead of a specified region like
someRegion.findAll()

just use 
setAutoWaitTimeout() to adjust the screens value, but be aware: this is used for ALL subsequent find ops until changed again.

BTW: this is all in the docs.

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