You are on page 1of 1

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:
^!s::
Send Sincerely,{enter}John Smith ; This line sends keystrokes to the active
(foremost) window.
return

You might also like