sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #43128
Re: [Question #647305]: Error options in Sikuli?
Question #647305 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/647305
Status: Open => Answered
Manfred Hampl proposed the following answer:
You might need a construction like this
looping statement (for... or while... etc.):
try:
find("path-to-image")
do-some-logic # it is there
except FindFailed:
pass # pattern not found, just ignore it and return to the loop
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.