← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #237506]: How to entry a special key code?

 

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

    Status: Open => Needs information

RaiMan requested more information:
Sikuli has a 2-level translation system to produce key-presses via Java
Robot finally with the Java key codes VK_XXX as defined in
java.awt.event.KeyEvent.

So currently only the defined keys Key.XXX can be pressed according to
the layout of a standard QWERTY US keyboard.

Simulating other key presses, than those Sikuli currently supports, is
only possible if you step down to the Java level and directly use a Java
Robot instance with its key press and release functions and the needed
key codes VK_XXX as mentioned above.

Before you have to check, wether the wanted key is supported by the Java key code system and produces the expected result.
Version 1.1  will support all useable key combinations and have a feature to "learn" your non-US-QWERTY keyboard.

Your problem:
What key is this "key code 291"?
Is it how you can produce it on Windows using Alt-Gr and 291 on numpad? (hence it is the ASCII code)

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