← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #254856]: [1.0.1] exists(img, 0): getting some seconds of find time in cases where a larger image is not visible

 

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

Description changed to:
see comment #9
for some explanation
-----------------------------------------------------

I am using sikuli-java 1.0.1 with JDK 1.7 on a Win7 box.

When I am calling screen.exists(imageName), it seems to be coming back
only after about 5 seconds. Tried making it exists(imageName, 0), but
that didn't make it return any faster. The same was the case with any
value between 0 - 5. For all of these the autoWaitTimeout was the
default value of 3.

Tried calling screen.exists(imageName) after calling
screen.setAutoWaitTimeout(0.1), but that didn't help either.

When I pass values of more than 5 for the seconds parameter (say 15),
then it seemed to take that much of time.

Is this behavior expected ?

Thanks.

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