Continuously monitoring parent while loop
I am wonder what is the best way to solve my problem.
My current code looks something like this:
while tloop <= minei:
if exists(image):
wait(4)
while exists(image):
while not exists(image):
if exists(image):
else:
()
What I am trying to achieve is that when the first "while exist(image)" stops existing it will break the loop and start the main loop again no matter were it is currently in the second loop.
Thank for any help!
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 William Wilkins for more information if necessary.