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

    Status: Open => Answered

masuo proposed the following answer:
[Example1:  click LastMatch]
r = Region(0,0,200,200)
if r.exists("image.png"):
    r.click()

[Example2:  click another image in same region]
r = Region(0,0,200,200)
if r.exists("image1.png"):
    r.click("image2.png")

[Example3:  click another image in another region]
r = Region(0,0,200,200)
if r.exists("image1.png"):
    click("image2.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

Reply via email to