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

2017-06-30 Thread Charles Thomas
Question #645654 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/645654

Charles Thomas posted a new comment:
thanks for the explanation, i just needed to know cuz i needed at at
least 80 milliseconds, and i had no clue cuz i tried to learn all this
in just the past 24 hours.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


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

2017-06-30 Thread Charles Thomas
Question #645654 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/645654

Status: Answered => Solved

Charles Thomas confirmed that the question is solved:
Thanks Manfred Hampl, that solved my question.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


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

2017-06-30 Thread Manfred Hampl
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.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


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

2017-06-30 Thread Charles Thomas
Question #645654 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/645654

Status: Answered => Open

Charles Thomas is still having a problem:
not completely sure what you mean, is it just not possible?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


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

2017-06-29 Thread masuo
Question #645654 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/645654

Status: Open => Answered

masuo proposed the following answer:
You should confirm that how long does it take to call SikuliX feature at
your environment.

For example, it takes about 300 msec at exists() at my environment.
So setAutoWaitTimeout(0.01) is nonsense at my environment.

import datetime
print datetime.datetime.today()
exists("1498803735998.png",0)
print datetime.datetime.today()

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp