Sends the specified key as input to focused element.
Namespace: MindFusion.Keyboard
Assembly: VirtualKeyboard.js
SyntaxJavaScript
Copy Code
|
|---|
function sendKey (key) |
ExampleThe following code send the "Alt" modifier key as input to the focused element of the application:
JavaScript
Copy Code
|
|---|
| var vk = VirtualKeyboard.create( document.getElementById("keyboard")); vk.sendKey(Keys.Alt); |
See Also