← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #702646]: Optimizing resource usage

 

Question #702646 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/702646

    Status: Open => Answered

RaiMan proposed the following answer:
--- ...waitscanrate but apparently it's used for region, 
every image search towards a screen in SikuliX is done on a Region (undotted it is the whole screen).
Hence setting WaitScanRate is respected by all following screen image searches until changed again.

waitVanish might not work as expected in earlier versions of SikuliX.
Same goes for someApp.focus() on Windows (try with App.focus("part of window-title"))

instead of waitVanish you might use:

while exists(img, 0):
    wait(0.5)

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