Question #674079 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/674079

    Status: Open => Answered

RaiMan proposed the following answer:
--- solution:
if exists(image)
    click()

--- background
exists() searches the screen.
click() without specifying a region (like: someReg.click()) simply clicks the 
last match of the given region, which is the screen in this case.

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

Reply via email to