How do you make observe run forever?

Asked by Sean

I have tried both observe(FOREVER, True) and observe(True) and they only work if the image is already on screen. It works fine if I use a length of time like observe(20, True)

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

1.0.1: just use a big value
1.1.0: FOREVER works

Revision history for this message
Sean (nightshadow92) said :
#2

I see. Thanks.

Revision history for this message
Sean (nightshadow92) said :
#3

Thanks RaiMan, that solved my question.