← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #668053]: If not exists

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
 if not (exists(Pattern("Image A").exact()) or (Pattern("Image B").exact())):
                popup('THE WRONG KIND')

the brackets make the diff ;-)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.