"While not" loop failing
This is my script, very simple:
while not find( ):
sleep(5)
switchApp(
click( )
sleep(1)
find( )
click( )
However the script fails at line 1:
capture: java.awt.
0 matches found
capture: java.awt.
0 matches found
capture: java.awt.
0 matches found
[sikuli] [Error] source lineNo: 1
[sikuli] [Error] Traceback (innermost last):
File "/var/folders/
File "/Applications/
Line 1, in file /var/folders/
at edu.mit.
at edu.mit.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
edu.mit.
Line 1, in file /var/folders/
The .py file mentioned says:
wait("127076731
switchApp(
click("
What is wrong? I'm using Sikuli 0.9.9 on OSX 10.6.3
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask shears for more information if necessary.