sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29740
Re: [Question #258335]: Windows path variables
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.