← Back to team overview

sikuli-driver team mailing list archive

[Question #143874]: keyDown(Key.SHIFT) not working on Win with Num-Lock on -- switch it off ; -)

 

Question #143874 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/143874

Summary changed to:
keyDown(Key.SHIFT) not working on Win with Num-Lock on -- switch it off ;-)

Description changed to:
**** will be solved with rc2 --- rc1: you have to manage it manually ;-)
---------------------------------------------------------------------

I have this same script for Mac and Windows. On Mac, it works as
expected, but it looks like the shift key isn't pressed on Windows.

Have notepad open with text "asdf" and run the code below:
keyDown(Key.SHIFT)
type(Key.LEFT)
type(Key.LEFT)
type(Key.LEFT)
keyUp(Key.SHIFT)

It should highlight "sdf", but on Windows, it only moves the cursor
between "a" and "s" as if it only moved left 3 times without shift key
down.

Is this a bug? Any work around?

You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.