Question #258335 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258335
Status: Open => Answered RaiMan proposed the following answer: while True: wait(1) popup ("0") for i in range(20): # wait for 20 seconds, until the file is created if os.path.exists(file): fileok = True popup ("1") break #continue with the "popup ("3")" else: wait (1) # file still not there continue # continue to wait popup ("3") ... -- 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