Question #676872 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676872
TestMechanic proposed the following answer:
Here is ready for use method:
def GetImage_X_sort(img, n):
print ("Look X sorted elements like " + str(img) + " and take number " +
str(n))
res=findAll(img)
sorted_img = sorted(res, key=lambda m:m.x)
sorted_img[n-1].highlight(2)
return sorted_img[n-1]
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp