← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #167494]: Click images in the same row one at a time

 

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.