sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #46922
[Question #668053]: If not exists
New question #668053 on Sikuli:
https://answers.launchpad.net/sikuli/+question/668053
if not exists(Pattern("Image A").exact()) or (Pattern("Image B").exact()):
popup('THE WRONG KIND')
So my program saw Image B, and then it threw up the popup.
At first I was confused, but then I realized it was not seeing Image A.
At least that's what I'm assuming is throwing up the popup.
I really need it to only throw the popup if neither image is seen, if just one is seen it needs to move on without the popup.
Can that be done?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.