← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #147387]: Problem using while iteration

 

Question #147387 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/147387

RaiMan proposed the following answer:
Uuuups, I apologize in the name of the developers: this is an example
that is more than one year old (I will tell them ;-)

Things have moved since then ;-)

Today the standard is, that all find() operations stop the script with a
FindFailed exception. And there are many more possibilities today - best
reading: http://sikuli.org/docx/region.html#exception-findfailed.

exists() was added to the API to manage such decision situation like
yours.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.