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

RaiMan posted a new comment:
OK, but the finds in the else branch are not necessary, you might
directly click using the known coordinates and the offset:

for template in range(MMSinitialize.template_count):
    if template == 0:
     f=r.find(MMSinitialize.first_template)
     r.click(f)
    else:
     r.click(f.right(MMSinitialize.offset))

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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