6/2/2023 0 Comments Mouse autohotkeyWhen a hotkey is triggered, the name of the hotkey is passed as its first parameter named ThisHotkey (which excludes the trailing colons). In other words, the braces are implicit: #n::Run "notepad" However, if a hotkey needs to execute only a single line, that line can be listed to the right of the double-colon. The opening brace may also be specified on the same line as the double-colon to support the OTB (One True Brace) style. In the above, the braces serve to define a function body for the hotkey. ![]() ![]() The pound sign stands for Win, which is known as a modifier key: #n:: In the following example, the hotkey Win+ N is configured to launch Notepad. 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). Hotkeys - Definition & Usage | AutoHotkey v2 Hotkeys (Mouse, Joystick and Keyboard Shortcuts) Table of Contents
0 Comments
Leave a Reply. |