← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #685286]: Sikuli Doc - Example code returns error

 

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.