← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #228447]: How to click objects in sequence?

 

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

    Status: Open => Answered

j proposed the following answer:
You can order your found matches:

icons = findAll( "text icon" ) 
sorted(icons, key=lambda m:m.y) # sorts the found icons by y value

for icon in icons: 
    click(icon)

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