LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to simulate keyboard (ger.)

Hello,
i found the VI "Simulate Keyboard.vi" here.
What i dont understand is how to press (on a german keyboard) this keys:

\    (which is AltGr + "ß")
_   (whicht ist Shift + "-")
:    (which is Shift + ".")

Or does someone have a SimulateKeyboard.vi for german keyboards?
(The vi uses keybd_event in user32.dll)

Thx for your help

0 Kudos
Message 1 of 2
(2,849 Views)
You should read the documentation for that function. If you look at the virtual codes list, you will see that some of them change according to keyboard. The best way to test is probably to set the key focus to a string control (using its KeyFocus property) and let the program run automatically through all the unknown codes and then see which ones produced the characters you need.

___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(2,842 Views)