← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #689076]: Logical looping for speed

 

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

Eric G posted a new comment:
So with findAny I have
##stuff
regTest=Region(0,0,1200,50)

images = ["img1.png","img2.png","img3.png"]

while 1:
    matches = regTest.findAny(images)
    if match in matches:
        while exists("Actionbutton.png"):
            click(match.getIndex())

Am I using match.getIndex() correctly? I only need to click the first
instance that matched

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.