sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #13763
Re: [Question #211517]: Combo box scrolling
Question #211517 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/211517
RaiMan proposed the following answer:
Sorry, too early in the morning - need more coffee ;-)
The principal idea of solution 2 is ok, but the above implementation is
nonsense.
Having a "good" region of the first box entry see comment on that
above), the observation of the first entry should be sufficient, no
matter if selected already or not.
so again:
1. evaluate somehow the area of the topmost list entry (first)
2. loop until positioned on the first entry of the list
we look wether the first entry has changed after a key UP, if not, we are at the top
while True:
img = capture(first)
type(Key.Up)
if first.nearby(2).exists(img,0): break
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.