← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #169468]: [Java] Using the wait() without image needs double value

 

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

Summary changed to:
[Java] Using the wait() without image needs double value

Description changed to:
***** usage

wait( (double) x )

where x is either an integer or decimal number
---------------------------------------------------------------------

How do I use the wait(timeout) method from sikuli in eclipse? I don't
want itto wait for a specific image. I just need it to pause before it
executes the next statement.

I got this error when I tried using it

Exception in thread "main" java.lang.IllegalMonitorStateException
	at java.lang.Object.wait(Native Method)

Here is a sample of the sequence of statements I want to execute:
s.type(null, ENTER,0);
s.type(null, ENTER,0);
s.type(null, ENTER,0);
s.type(null, "1",0);
s.type(null, ENTER,0);

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