Names of keys implemented in AutoHotkey.
Summary
Modifiers
The following modifier symbols are written before a key name. For example: ^k means Control+k;
The modifiers are as follows:
- +: shift key;
- ^: control or Ctrl key;
- ! : alt key;
- #: Windows or win key;
These keys can be combined as below:
Mouse buttons
- Mbutton: Middle button;
- Rbutton: Right button;
- Xbutton1: Thumb button 1;
- Xbutton2: Thumb button 2;
- wheelup: Wheel up (1 notch);
- wheeldown: Wheel down (1 notch);
- LButton: Left button (not recommended);
Examples:
- ^rbutton: Control+right button;
- #rbutton: win+right button;
- !wheelup: alt+one wheel up;
Printable characters
All letters, numbers, special characters or symbols available on the keyboard.
Particular case :
Examples:
- ^k: control+k ;
- ^#k: control+win+k;
- ^²: ctontrol+power 2;
- !,: control+comma;
- #space: win+space;
Other keys
- Space: the space bar;
- Tab: the tab key;
- Enter (or Return): the Enter key;
- Escape (or Esc): the Escape key;
- Backspace (or BS): the Backspace key;
- Delete (or Del): the Del key;
- Insert (or Ins): the Insert key;
- Home: the Start key;
- End: the End key;
- PgUp: the previous page key; ;
- PgDn: the next page key;
- Up: Up Arrow;
- Down: Down Arrow;
- Left: Left Arrow;
- Right: Right Arrow;
- ScrollLock: Scroll Lock key;
- CapsLock: Caps Lock key;
- NumLock: Num Lock Key (Number Pad Lock Key);
Numberpad
- numpadDiv: the slash key;
- NumpadMult: the asterisk key;
- NumpadAdd: the plus key;
- NumpadSub: the minus key;
- NumpadEnter: the Enter key;
With Num Lock enabled
- Numpad0;
- Numpad1;
- Numpad2;
- Numpad3;
- Numpad4;
- Numpad5;
- Numpad6;
- Numpad7;
- Numpad8;
- Numpad9;
- NumpadDot: dot key on the numeric keypad;
With Num Lock disabled
- numpadClear: same physical key as key 5 of the Numpad on most keyboards;
- NumpadUp: key 8;
- NumpadDown: key 2;
- NumpadLeft;
- NumpadRight: key 6;
- NumpadHome: key 7;
- NumpadEnd;
- NumpadPgUp;
-NumpadPgDn;
Function keys :
f1 to f24.
Note: do not use f13 to f24 if your keyboard does not have these keys.
Examples:
- ^f2: control+f2;
- ^!f12: control+alt+f12;
Special keys:
- AppsKey: this is the key that invokes the right-click context menu;
- LWin: the left Windows key;
- RWin: the right Windows key;
- Control (or Ctrl);
-Alt;
- Shift (or Shift);
Note:For the most part, the following 6 keys are not supported by Windows 95/98/Me. Use the above instead:
- LControl (or LCtrl): the left control key;
- RControl (or RCtrl): the right control key;
- LShift;
- RShift;
- LAlt: the left Alt key;
- RAlt: Note: If your keyboard layout has AltGr instead of RAlt (Right Alt), you can probably use it as a key combination prefix via <^>! as described here. Additionally, "LControl & RAlt::" would be equivalent to AltGr itself in a keybind;
- PrintScreen: PrintScreen key;
- CtrlBreak;
- Break;
- Break;
See also
It is also possible to use the multimedia keys of a keyboard as well as those of a joystick. To find out more, Visit this key list;