← Back to team overview

sikuli-driver team mailing list archive

[Question #198742]: hasNext() question

 

New question #198742 on Sikuli:
https://answers.launchpad.net/sikuli/+question/198742

with findAll(image) as tt:
    while tt.hasNext():
        t = tt.next()
        t1 = capture(t.getX(), t.getY(), t.getW(), t.getH())
        click(t1)
        wait(1)

i would like to find all match the image and click it, but it just click 1,2 image, i have more than one match reg,i think it can not find next image. pls help....


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.