New question #644806 on Sikuli:
https://answers.launchpad.net/sikuli/+question/644806

 #look when one of the two image appear.
while True:
      wait(2)
      print ('Searching...')   
      if exists ("1498307221873.png",0):
          print "Found E"
                #break loop
          continue       
      elif exists ("1498307427007.png",0):         
          print "Found D"
          continue
                #break
      else:
          print " Waiting..."
          wait(30)
          click("1498306719179.png")          
          pass

why after "Found E" the Sikuli exit and not continue loop?


-- 
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     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to