Question #706168 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706168

    Status: Open => Answered

RaiMan proposed the following answer:
if exists("key on the screen"): 
   click()

exists returns a match-region if the image is found on screen.
click() clicks in the middle of the last found match.

Read the docs and/or look for tons of examples in the net.

-- 
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     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to