sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #49313
Re: [Question #676169]: Continuously monitoring parent while loop
Question #676169 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676169
Status: Open => Answered
masuo proposed the following answer:
This is repeats from Loop 1 if an error occurs while processing Loop 2.
[example:]
while True:
popup("Loop1 start")
while True:
popup("Loop2 start")
try:
find("1542371485976.png").highlight(1)
sleep(3)
except:
popup("FindFailed")
break
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.