sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #05168
Re: [Question #170534]: Not able to create Region object on MAC
Question #170534 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/170534
Status: Open => Answered
RaiMan proposed the following answer:
You might read through for details and usage of class App
(http://sikuli.org/docx/globals.html#controlling-applications-and-their-
windows)
String sim = "safari";
App emu = new App(sim);
System.out.println("Before creating region");
emu.focus();
Thread.sleep(5000);
System.out.println("Focus Successful (hopefully ;-)");
Region emulatorArea = emu.window()
emulatorArea.highlight(2)
BTW: tested with rc3 (don't know wether this is relevant)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.