sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #26144
Re: [Question #249278]: How to set image capture region only to VNC viewer
Question #249278 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/249278
Status: Open => Answered
Henrik Fjorback proposed the following answer:
Hi,
I'm using the 'below()' operation when accessing a dialogue - searching
first for the title of the dialogue.
Java:
Region dialogue = myScreen.find("<title_bar_image.png>").below();
dialogue.click("<something_inside_vnc.png>");
You can use "myScreen.capture(dialogue)" to capture everything below titlebar image.
Maybe this is useful to you?
/Henrik Fjorback
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.