Question #251337 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251337
Status: Open => Answered
RaiMan proposed the following answer:
Region.exists(img, 0)
only checks once for the existence and comes back without a FindFailed if not
there.
returns the match if found and null/None if not.
Generally it is the WaitingTime (standard 3 seconds), that bothers you.
For other approaches, this waiting time can be set in various ways:
- globally we have Settings.AutoWaitTimeout = 3.0 (standard), which can be set
to a float value in seconds
- this value is registered with a region at time of creation of that region and
- can be set individually per region using Region.setAutoWaitTimeout()
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp