← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #214163]: ObserveScanRate

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
ObserveScanRate is for observe() only.

for all other explicit (find, wait, exists, ..) and implicit (click,
...) we have the WaitScanRate.

It simply said, how often per second a search is repeated until found or
waiting time exceeded.

So specifying 1 means one per second (standard is 3 - means max 3 per second - searching the whole screen means constantly searching, since 0.5 to 1 second per search ;-).
and values like 
0.5 means every 2 seconds
0.2 means every 5 seconds

so values 0.3 ands lower leaving the standard waiting time of 3 seconds
would mean 1 search only (same as exists(image, 0) )

hope it helps. see docs for more information (doc.sikuli.org).

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