Brass Plugins: Mime
Supported Directives: Keyboard
- Hold ALT or CTRL and Send Keys
Many applications expose options through key accellerators.
For example, in Notepad pressing Control-N creates a new file and
ALT-F X exits. This directive emulates keyboard input with the ALT
or CTRL keys held down.
The format of the directive is:
[ALT]keys[/ALT]
[CTRL]keys[/CTRL]
The "keys" are the keyboard presses you wish to send
with the ALT or CTRL keys held down.
Examples
Send a Control-N to create a new document in Notepad
[CTRL]n[/CTRL]
Send an ALT-F to open the File menu
[ALT]f[/ALT]
Send a Control and F1 key press
[CTRL][F1][/CTRL]
Send a Control and F1 virtual key press
[CTRL]{F1}[/CTRL]
Emulate the Exit menu option in most applications ("ALT-F
x"). The X key is not pressed with ALT held down.
[ALT]f[/ALT]%%x
Send Control X, Control C and Control V together
[CTRL]xcv[/CTRL]
Send ALT F, ALT with the Enter/Return key, ALT G together
[ALT]f[RET]g[/ALT]
Technical Notes
This directive should be self explanatory. All
of the characters between the directive blocks ([ALT] and [/ALT]
etc) are sent to the target as if they had been directly pressed
on the keyboard.
Between the [ALT] [/ALT] and [CTRL] [/CTRL] can
be any combination of keys from the simple
keypress directive, the extended keypress
directive or the extended virtual
keypress directive.
|