sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #41828
Re: [Question #554900]: inconsistent error handling if findAll() loop
Question #554900 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/554900
Status: Open => Answered
RaiMan proposed the following answer:
--1: I strongly recommend, to only use version 1.1.1, especially as
newbee.
so I only speak for 1.1.1
--2: findAll in all cases returns a list object (which might be empty),
so
if findAll()
will never be false.
see the doced examples:
http://sikulix-2014.readthedocs.io/en/latest/region.html#Region.findAll
http://sikulix-2014.readthedocs.io/en/latest/match.html#iterating-over-matches-after-findall
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.