sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35580
[Question #274033]: How to include two images under the same line of code
New question #274033 on Sikuli:
https://answers.launchpad.net/sikuli/+question/274033
Hey,
Trying to write code so that if two images appear on screen at the same time it will just loop back to the beginning. The problem is if only one of the images appears it still loops. How can I make it so that Sikuli proceeds going down the lines if one image appears but not two.
while exists(Pattern("image1.png").exact())and exists(Pattern("image2.png").exact()):
sleep(1)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.