sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #07362
Re: [Question #180457]: Region click + next point of region
Question #180457 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/180457
Status: Open => Answered
RaiMan proposed the following answer:
--- use navigation key (if possible)
this is always the easiest way with GUI elements:
rightClick("dropdown.png")
wait(0.5) # might be needed
type(Key.DOWN)
type(Key.ENTER)
--- use calculated regions
use any tool to measure pixels on the screen and construct regions/locations based on a fixed element, that can be found on the screen.
e.g.
ref = Region(find("dropdown.png"))
rightClick(ref)
wait(0.5) # might be needed
click(ref.below(30))
this will find the region of dropdown.png, right click and then click
the center of the region below (same width - height(30))
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.