Question #256442 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/256442
Status: Open => Answered
RaiMan proposed the following answer:
Thanks for feedback.
There are some known problems on Windows together with the NUM_LOCK state.
These appear to be some Java problems.
It is on the list for version 1.2, to revise the key handling and implement the
known workarounds where possible.
BTW:
lockState = Env.isLockOn(Key.NUM_LOCK)
if lockState: type(Key.NUM_LOCK)
keyDown(Key.SHIFT)
type(Key.PAGE_DOWN) # Key.SHIFT is redundant, since it is already hold down
type(Key.PAGE_DOWN)
keyUp(Key.SHIFT)
if lockState: type(Key.NUM_LOCK)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp