With BaseExtensions we are able to make Office applications think a key has been pressed.
This is useful in certain cases, for example where a module will cause the Office application to enter Keytip mode - the same as pressing the Alt-key.
This is the command for sending key:
<Cmd case="BaseExtensions:send-key" key="xx"/>
Parametres
Key
The key you wish to send. Must reflect values contained in this list.
Note: Some keys, like the "Escape" key, requires curly brackets
Below commands can be used in a module to emulate first ALT, then Escape-key press.
<Cmd case="BaseExtensions:send-key" key="%"/>
<Cmd case="BaseExtensions:send-key" key="{ESC}"/>
Comments
0 comments
Article is closed for comments.