← Back to team overview

sikuli-driver team mailing list archive

[Question #404622]: Loop Click on images

 

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

Attempt to create an loop to click on images tried several examples  this one works but not in loop.

setFindFailedResponse(SKIP)
findAll("1480812311582.png")  # expected several of same or none
mm = SCREEN.getLastMatches()
if mm is not None:
    while mm.hasNext():    #after click image disapear
        click(mm.next())

#no more of images above click next page
click("1480851309946.png") #next page
wait(2)

script stop should continue 

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