Is there a way to pause sikuli from executing any commands and then continue at a later time from the same place where it was paused

Asked by Bijuak

I want to pause the execution, bring up Sikuli and then continue at a later time. Is it possible ?

Thanks for your response..

-Biju

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

use
wait(number)

which pauses the script at that point for "number" seconds.

For more information on other possibilities (exists(), observe(), ...) see the reference documentation.

Revision history for this message
Bijuak (bijugavu) said :
#2

Thanks RaiMan, that solved my question.

Revision history for this message
WeiKeong (weikeong86) said :
#3

I tested on v0.10.0 and it works but it doesn't seems to work in v0.9.9.
Is there any way to do the same thing for v0.9.9?

Thanks

Revision history for this message
Tsung-Hsiang Chang (vgod) said :
#4

You can use sleep(sec) in 0.9 instead.