← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #160030]: String returned from findAll() function are not in order of their occurrence in Screen

 

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

    Status: Answered => Open

Saorabh Singh is still having a problem:
Thanks for the Idea,

Actually i am working on Java..
So i am using this method::

icons = findAll( [ANY_IMAGE] )
String []qlist1 = icons.trim().split("\n")

& now i will Search for string in page..using Exist function
screen s;
region r[];

for i=0 to qlist1.length
r[i]=s.exist[qlist[i])

Now i will sort region r[] on basis of their "y" coordinate.

Is this OK??
Or do we have any other better way to get this thing done.

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