Wait FOREVER

Asked by Ramona Constantinescu

Hi all,

I just started working with Sikuli and I found something..rather odd..

Basically:
.........
wait("screenshot1.png", FOREVER)
.........

In my case, due to a bug in the application I'm testing, screenshot1.png never appears (instead screenshot2.png is displayed - case I have not treated in my script).
Now my Sikuli script waits for screenshot1 to appear, forever. And since Sikuli IDE vanishes while a script is running, how can i solve this?
I can't just open a new Sikuli IDE, knowing that I already have a script waiting forever for a screenshot that will never appear?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Ramona Constantinescu
Solved:
Last query:
Last reply:
Revision history for this message
Tsung-Hsiang Chang (vgod) said :
#1

Use alt-shift-c (for windows,linux) or cmd-shift-c (for Mac) to stop the script.

Revision history for this message
Ramona Constantinescu (ram-constantinescu) said :
#2

I should have known that. Thank you!