sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #05632
[Question #172411]: Java equivalent of screen.type("g", KEY_CMD|KEY_SHIFT)
New question #172411 on Sikuli:
https://answers.launchpad.net/sikuli/+question/172411
I am trying to invoke the browse dialog in Finder using MAC short cut cmd+shift+g
I tried the following without success:
What is the java equivalent of :
type("g", KEY_CMD|KEY_SHIFT)
I tried :
Robot Keyboard1 = new Robot();
Keyboard1.keyPress(KeyEvent.VK_META);
Keyboard1.keyPress(KeyEvent.VK_SHIFT);
Keyboard1.keyPress(KeyEvent.VK_G);
Keyboard1.keyRelease(KeyEvent.VK_META);
Keyboard1.keyRelease(KeyEvent.VK_SHIFT);
Keyboard1.keyRelease(KeyEvent.VK_G);
is it possible to use the type function in sikuli.script.jar?
Thanks,
Rakesh
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.