← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #654090]: How to sort without search option in python

 

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

    Status: Open => Answered

Manfred Hampl proposed the following answer:
How do you know which line to select? What are the selection criteria?

Some ideas:
Do a searchall for the empty selection box, store the vertical and horizontal positions for the first one in variables.
Calculate the difference in vertical positions between the first and the second ones.
If you know that you have to select the n-th line, do a click on (horizonalpos1, verticalpos1 + (n-1)*verticaldiff)

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