An open-source scripting language for Windows!
- Commands cannot be merged into a single file
Hotkey is created by single pair of colons
::if a Hotstring
- Key combo like
jor Hotstring like
- Content, like
returnif not only text is used
| ||Windows key|
| ||Alt key|
| ||Ctrl key|
| ||Shift key|
| ||Combine keys/mouse buttons, like |
An action can be enabled in a certain window thanks to a directive (#).
This affects all hotkeys/Hotstring beneath them in the script, and only the most recent is in effect.
More detail in doc
; Untitled - Notepad #IfWinActive Untitled - Notepad !q:: MsgBox, You pressed ALT+Q in Notepad. return ; Any window that isn't Untitled - Notepad #IfWinActive !q:: MsgBox, You pressed ALT+Q in any window. return
Hotkey is a key or key combination that trigger some action
^j:: Send, My first script return
Hotstring expand abbreviations, but can also be used to trigger an action