sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #49026
[Question #675373]: [HowTo] make a simple loop with "exists image" and "click image"?
New question #675373 on Sikuli:
https://answers.launchpad.net/sikuli/+question/675373
Hello!
I don't know how to make a simple loop that lasts forever.
The script to be looped is this one:
exists("1539962756733.png")
click("1539962769464.png")
I just want it to loop if the conditions exist.
I already read some questions about it but still couldn't figure out how to do it.
Also, is it possible to make a script that are just activated in case another condition is false?
Example:
If "x" image exists don't nothing.
If "x" image doesn't exist run scrip.
Thank you for all the help!
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.