← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #244739]: Order of matches / image scan

 

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

    Status: Open => Answered

obiwan-92 proposed the following answer:
Hello,

It's probably because there is no need to slow down the function for
something, we can perfectly do our-self.

Try this :
for item in sorted(findAll("img.png"), key=lambda m:m.y):
    print item

You will find every information here :
http://doc.sikuli.org/region.html#finding-inside-a-region-and-waiting-for-a-visual-event

Regards.

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