sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29125
Re: [Question #256442]: How to press page down with Shift holded
Question #256442 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/256442
John Henckel posted a new comment:
I encountered the SAME bug. I am using the Java API. When NUMLOCK is
true, the Shift + End (or pgdn, or arrow) does not work as expected. I
think that this is a BUG in the java.awt.Robot.
I tried the following
Robot r = new Robot();
r.keyPress(KeyEvent.VK_SHIFT);
r.keyPress(KeyEvent.VK_END);
r.keyRelease(KeyEvent.VK_END);
r.keyRelease(KeyEvent.VK_SHIFT);
and it works differently depending on the NUMLOCK state.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.