You are on page 1of 1

Introduction and Simple Examples

Hotkeys are sometimes referred to as shortcut keys because of their ability to easily trigger an
action (such as launching a program or keyboard macro). In the following example, the hotkey
Win+N is configured to launch Notepad. The pound sign [#] stands for the Windows key, which
is known as a modifier:
#n::
Run Notepad
return
In the final line above, return serves to finish the hotkey. However, if a hotkey needs to execute
only a single line, that line can be listed to the right of the double-colon. In other words, the
return is implicit:
#n::Run Notepad
To use more than one modifier with a hotkey, list them consecutively (the order does not matter).
The following example uses ^!s to indicate Control+Alt+S:
Table of Contents
Introduction and Simple Examples
Table of Hotkey Prefix Symbols (Modifiers)
Context-sensitive Hotkeys
Custom Combinations and Other Features
Mouse Wheel Hotkeys
Hotkey Tips and Remarks

You might also like