Special Keys and Their Equivalents

Each key is represented by one or more characters. To specify a single keyboard character, use the character itself. For example, to represent the letter A, use A. If you want to represent more than one character, append each additional character to the one preceding it. To represent the letters A, B, and C, use ABC. To send a space, simply press the space bar. The plus sign +, caret ^, percent sign %, tilde ~, and parentheses ( ) have special meanings. To specify one of these characters, enclose it within braces. For example, to specify the plus sign, use {+}. Brackets [ ] have no special meaning, but you must enclose them in braces as well, because in other applications, brackets do have a special meaning that may be significant. To send brace characters, use {{} and {}}. To specify characters that aren't displayed when you press a key (such as ENTER or TAB) and keys that represent actions rather than characters, use the codes shown below:

Key Codes

BACKSPACE {BACKSPACE}, {BS}, or {BKSP}

BREAK {BREAK}

CAPS LOCK {CAPSLOCK}

Caps Lock On {CAPSON}

Caps Lock Off {CAPSOFF}

DEL {DELETE} or {DEL}

DOWN ARROW {DOWN}

END {END}

ENTER {ENTER} or ~

ESC {ESC}

HELP {HELP}

HOME {HOME}

INS {INSERT}

LEFT ARROW {LEFT}

NUM LOCK {NUMLOCK}

NUM LOCK On {NUMLOCKON}

NUM LOCK Off {NUMLOCKOFF}

PAGE DOWN {PGDN}

PAGE UP {PGUP}

PRINT SCREEN {PRTSC}

RIGHT ARROW {RIGHT}

SCROLL LOCK {SCROLLLOCK}

SCROLL LOCK Off {SCROLLLOCKOFF}

SCROLL LOCK On {SCROLLLOCKON}

TAB {TAB}

UP ARROW {UP}

F1 {F1}

F2 {F2}

F3 {F3}

F4 {F4}

F5 {F5}

F6 {F6}

F7 {F7}

F8 {F8}

F9 {F9}

F10 {F10}

F11 {F11}

F12 {F12}

F13 {F13}

F14 {F14}

F15 {F15}

F16 {F16}

Number Pad 0 {NUMPAD0}

Number Pad 1 {NUMPAD1}

Number Pad 2 {NUMPAD2}

Number Pad 3 {NUMPAD3}

Number Pad 4 {NUMPAD4}

Number Pad 5 {NUMPAD5}

Number Pad 6 {NUMPAD6}

Number Pad 7 {NUMPAD7}

Number Pad 8 {NUMPAD8}

Number Pad 9 {NUMPAD9}

Number Pad / {NUMPAD/}

Number Pad * {NUMPAD*}

Number Pad - {NUMPAD-}

Number Pad + {NUMPAD+}

Number Pad . {NUMPAD.}

Separator {NUMPADSEP}

Windows Key {WINKEY}

Popup Menu Key {POPUP}

Press and release ALT {QUICKALT}

Press and release CTRL {QUICKCTRL}

Press and release SHIFT {QUICKSHIFT}

Special Keys

To specify keys combined with any combination of the SHIFT, CTRL, and ALT keys,

Precede the regular key code with one or more of the following codes:

Key Code

SHIFT +

CTRL ^

ALT %

To specify that any combination of SHIFT, CTRL, and ALT should be held down while several other keys are pressed, enclose the code for those keys in parentheses. For example, to specify to hold down SHIFT while "e" and "c" are pressed, use +(ec). To specify to hold down SHIFT while "e" is pressed, followed by c without SHIFT, use "+ec". To specify repeating keys, use the form {key number}. You must put a space between key and number. For example, {LEFT 42} means press the LEFT ARROW key 42 times; {h 10} means press h 10 times.

Related Topics:

Fields

Send Keystrokes Action

Other Available Actions