Infinite Loop isn't working
Asked by
Maurice Richard
Hello,
I have a very simple loop, that's refusing to work for me.
while True:
if exists(myImage):
else:
wait(1.0)
If it detects 'myImage' it runs 'ProcessConfirm
But if it doesn't, it isn't running the else statement at all.
It just hangs there, and doesn't even error out.
I appreciate the help,
Maurice
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Maurice Richard
- Solved:
- Last query:
- Last reply:
To post a message you must log in.