← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #661213]: How to shorten time with tons of exists() if-statments

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
use 
exists(img, 0)

which only searches once and then comes back, which only takes about
some 10 milliseconds.

ObserveScanRate/WaitScanrate are only the presets, to decide how often
per second SikuliX searches for the image while waiting for it to come
up.

recommendations:
- use latest SikuliX (>= 1.1.1)
- know the docs: http://sikulix-2014.readthedocs.io/en/latest/index.html

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