Question #675373 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/675373
tanayo5785 posted a new comment:
Hey! You can use a while True loop to make your script run forever,
checking the conditions continuously:
while True:
if exists("1539962756733.png"):
click("1539962769464.png")
For the second question, you can do something like this:
if not exists("x.png"):
# Run your script here
That way, the script only runs if "x.png" doesn't exist.
Funny enough, I once got stuck on a similar issue and ended up using
https://yesnopickerwheel.com/ to decide if I should keep debugging or
take a break. 😂 Hope this helps!
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp