Keyboard commands
A bare key name presses that key by itself. A modifier followed by a key combines them into one chord.
Modifiers
| Modifier | Meaning |
|---|---|
CTRL / CONTROL | Control key |
SHIFT | Shift key |
ALT | Alt key |
GUI / WINDOWS / COMMAND | The Windows key on Windows/Linux, Command key on macOS |
CTRL SHIFT, ALT SHIFT, COMMAND CTRL, COMMAND OPTION, COMMAND CTRL SHIFT | Pre-combined modifier chords, used the same way as a single modifier |
CTRL ALT DELETE | Built-in three-key Secure Attention Sequence shortcut |
modifiers.hdc
REM Lock the screen (opens the security options screen on Windows)
CTRL ALT DELETE
REM Open the Run dialog
GUI r
REM Open Task Manager on Windows
CTRL SHIFT ESCAPENavigation & editing keys
| Keys |
|---|
UPARROW, DOWNARROW, LEFTARROW, RIGHTARROW |
PAGEUP, PAGEDOWN, HOME, END |
INSERT, DELETE / DEL, BACKSPACE, TAB, SPACE, ENTER, ESCAPE |
PAUSE_BREAK, PRINTSCREEN, MENU APP |
CAPSLOCK, NUMLOCK, SCROLLOCK |
Jump to the start of a line, select to the end, then delete it:
editing.hdc
HOME
SHIFT END
DELETEFunction keys
F1 through F12 are all available as bare key presses:
function-keys.hdc
REM Refresh the current page
F5
REM Toggle full-screen mode
F11Last updated on