← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #645654]: is it possible to make setAutoWaitTimeout() to less than one second, if so how?

 

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

    Status: Open => Answered

Manfred Hampl proposed the following answer:
From
http://sikulix-2014.readthedocs.io/en/latest/region.html#Region.setAutoWaitTimeout

"Parameters:
seconds – a number, which can have a fraction. The internal granularity is milli-seconds."

So you can e.g. set it to half a second with "setAutoWaitTimeout(0.5)"

What masuo wanted to indicate is that it does not make sense to set it
to a value which is smaller than the duration that an exists() command
needs for execution.

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