Copyright 2002-2015 Rick Mohr
 

A keystroke in a command's actions may be specified in three ways:

  1. As a literal character, any character you can type or paste. (For non-English characters be sure the command file is saved as Unicode or UTF-8.)
  2. As a Unicode specifier, with a hexidecimal number for the desired Unicode character. For example, {U+00A9} for the copyright symbol.
  3. As a keystroke specifier, such as {Ctrl+Shift+Left_3}. This syntax may have 3 parts:
    • Modifier keys (optional). Any combination of Shift+, Ctrl+, Alt+, and Win+ (for the "Windows" key). Case insensitive.
    • Key (required). Either a literal character (case sensitive) or a key name from the tables below (case insensitive).
    • Repeat count (optional). A number specifying how many times to repeat the key, or the word "Hold" or "Release", preceded by either a space character or an underscore.

    Vocola has built-in commands to insert keystroke specifiers in the proper syntax.

Key names

Special keys:

Backspace
Break
Delete (or Del or ExtDel)
Down   (or ExtDown)
End    (or ExtEnd)
Enter
Escape   (or Esc)
Home     (or ExtHome)
Insert   (or Ins or ExtIns)
Left     (or ExtLeft)
PageDown (or PgDn or ExtPgDn)
PageUp   (or PgUp or ExtPgUp)
Pause
PrintScreen (or PrtSc)
Right (or ExtRight)
Space
Tab
Up (or ExtUp)

Modifier keys:

Alt (or Alternate or LeftAlt)
CapsLock
Ctrl (or Control or LeftCtrl)
NumLock
RightAlt
RightCtrl
RightShift
RightWin
ScrollLock
Shift (or LeftShift)
Win   (or LeftWin)

Buttons on mouse or other pointing device:

LeftButton
MiddleButton
RightButton
WheelDown
WheelUp
XButton1
XButton2

Numeric keypad keys:

NumKey0
NumKey1
NumKey2
NumKey3
NumKey4
NumKey5
NumKey6
NumKey7
NumKey8
NumKey9
NumKey.
NumKey+ (or Plus)
NumKey- (or Minus)
NumKey* (or Mult or Asterisk)
NumKey/ (or Slash)
NumKeyEnter (or KeyPadEnter)

Keys with meaning to Windows or specific applications:

BrowserBack
BrowserFavorites
BrowserForward
BrowserHome
BrowserRefresh
BrowserSearch
BrowserStop
ContextMenu
Mail
MediaNextTrack
MediaPlayPause
MediaPreviousTrack
MediaStop
VolumeDown
VolumeMute
VolumeUp

Keys which may or may not do anything on your computer:

AbntC1
AbntC2
Accept
App1
App2
Attn
Auto
BackTab
Clear
Convert
Copy
CrSel
CuSel
Enlw
ErEof
ExSel
Execute
Final
Finish
Help
Ico00
IcoClr
IcoHlp
Jisho
Jump
Junja
Kana
Kanji
Loya
Mashu
Media
ModeChange
NonConvert
OemAttn
OemClr
OemPa1
OemPa2
OemPa3
Pa1
Packet
Play
Print
Process
Reset
Roya
Select
Sleep
Touroku
WsCtrl
Zoom