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.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to