Question #632476 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/632476
Status: Open => Answered
RaiMan proposed the following answer:
the syntax is ok, but you should avoid the second search with the click:
before version 1.1.0:
if exists("asdf1.png"):
click(getLastMatch())
wait(10)
else:
click("asdf3.png")
version 1.1.x+
if exists("asdf1.png"):
click()
wait(10)
else:
click("asdf3.png")
--
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