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

    Status: Open => Answered

RaiMan proposed the following answer:
def changed(event):
    for ch in event.changes:
        ch.click() #Click on the changes
        break

this will end the loop after the first click

... or you might try:
click(event.changes[0])

-- 
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