These codes are used to insert a key press or a sequence of keys into the target document. You can indicate a repeat count for each key (the italic [] denotes optional information). To form a key combination, use + such as <CTRL+B>, <ALT+F4> etc.
Code | Action | Example |
<LEFTSHIFT> <LSHIFT> |
Press and release the left SHIFT key | |
<RIGHTSHIFT> <RSHIFT> |
Press and release the right SHIFT key | |
<SHIFT> | Press and release a SHIFT key (left or right; the exact key depends on your Windows setting) | |
<LEFTCONTROL> <LEFTCTRL> <LCONTROL> <LCTRL> |
Press and release the left CONTROL key | |
<RIGHTCONTROL> <RIGHTCTRL> <RCONTROL> <RCTRL> |
Press and release the right CONTROL key | |
<CONTROL> <CTRL> |
Press and release the a CONTROL key (left or right; the exact key depends on your Windows setting) | |
<LEFTALT> <LALT> |
Press and release the left ALT key | |
<RIGHTALT> <RALT> |
Press and release the right ALT key | |
<ALT> | Press and release the an ALT key (left or right; the exact key depends on your Windows setting) | |
<LEFTWIN> <LWIN> |
Press and release the left WIN key | |
<RIGHTWIN> <RWIN> |
Press and release the right WIN key | |
<WIN> | Press and release the a WIN key (left or right; the exact key depends on your Windows setting) | |
<BACKSPACE> <BACK> <BS> |
Press and release the BACKSPACE key once | <BACK> will backspace one position |
<BACKSPACE:count> <BACK:count> <BS:count> |
Press and release the BACKSPACE key count times | <BACK:6> will backspace six positions |
<RETURN> <ENTER> |
Press and release the ENTER key once | <ENTER> will press the ENTER key once |
<RETURN:count> <ENTER:count> |
Press and release the ENTER key count times | <ENTER:2> will press the ENTER key twice |
<TAB> | Press and release the TAB key once | |
<TAB:count> | Press and release the TAB key count times | |
<ESCAPE> <ESC> |
Press and release the ESCAPE key once | |
<ESCAPE:count> <ESC:count> |
Press and release the ESCAPE key count times | |
<SPACE> | Press and release the SPACE key once | <SPACE> will press the SPACE key once |
<SPACE:count> | Press and release the SPACE key count times | <SPACE:4> will press the SPACE key four times |
<PAGEUP> <PGUP> <PRIOR> |
Press and release the PAGEUP key once | |
<PAGEUP:count> <PGUP:count> <PRIOR:count> |
Press and release the PAGEUP key count times | |
<PAGEDOWN> <PGDN> <NEXT> |
Press and release the PAGEDOWN key once | |
<PAGEDOWN:count> <PGDN:count> <NEXT:count> |
Press and release the PAGEDOWN key count times | |
<HOME> | Press and release the HOME key once | |
<HOME:count> | Press and release the HOME key count times | |
<END> | Press and release the END key once | |
<END:count> | Press and release the END key count times | |
<LEFT> | Press and release the LEFT arrow key once | |
<LEFT:count> | Press and release the LEFT arrow key count times | |
<RIGHT> | Press and release the RIGHT arrow key once | |
<RIGHT:count> | Press and release the RIGHT arrow key count times | |
<UP> | Press and release the UP arrow key once | |
<UP:count> | Press and release the UP arrow key count times | |
<DOWN> | Press and release the DOWN arrow key once | |
<DOWN:count> | Press and release the DOWN arrow key count times | |
<INSERT> <INS> |
Press and release the INSERT key once | |
<INSERT:count> <INS:count> |
Press and release the INSERT key count times | |
<DELETE> <DEL> |
Press and release the DELETE key once | |
<DELETE:count> <DEL:count> |
Press and release the DELETE key count times | |
<F1> <F2> <F3> <F4> <F5> <F6> <F7> <F8> <F9> <F10> <F11> <F12> |
Press and release the function Fx key once | |
<F1:count> <F2:count> <F3:count> <F4:count> <F5:count> <F6:count> <F7:count> <F8:count> <F9:count> <F10:count> <F11:count> <F12:count> |
Press and release the function Fx key count times | |
<LIFTKEYS> | Lift all Control, Shift, Alt and Win keys up |
Code | Action | Example |
<HOLDSHIFT>normal-keys-or-text</HOLDSHIFT> | Type the keys or text while holding the SHIFT key | <HOLDSHIFT><LEFT:6></HOLDSHIFT> will select 6 characters from the current caret position in most text editors |
<HOLDCONTROL>normal-keys-or-text</HOLDCONTROL> | Type the keys or text while holding the CONTROL key | |
<HOLDALT>normal-keys-or-text</HOLDALT> | Type the keys or text while holding the ALT key |