Question #654244 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/654244
Status: Open => Answered
dinev proposed the following answer:
"I am looking for a simple script that will watch for an image, type the
letter c until the image is gone. then wait for the image to come back
again indefinitely."
Here is possible solution to your initial question:
while True:
while not exists(image1):
sleep(1)
while exists(image1):
type("c")
sleep(1)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp