Question #266772 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/266772
G Z posted a new comment: Thank you RaiMan that is working! But how come that your example is working and mine with the simple while is not? So this is working: while True: if exists(image1, 0) or exists(image2, 0): # do something break wait(1) But this is only working if image1 is existant, but if image1 is not existant only image2, then it just keeps waiting in the loop. while not exists(image1, 0) or not exists(image2, 0): wait(1) I remember you said that: false or false is false true or false is true false or true is true true or true is true But wouldn't that be the case for the if statement? Or is that different because of the True? -- You received this question notification because you are a member of Sikuli Drivers, which 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