2 - Hotkeys & Hotstrings
b. Window specific hotkeys/hotstrings
Code: Select all
; Notepad #IfWinActive untitled - Notepad !q:: MsgBox, You pressed Alt and Q in Notepad. Return #IfWinActive ; Any window that isn't Untitled - Notepad !q:: MsgBox, You pressed Alt and Q in any window. Return
#IfWinActive untitled - Notepad
Doesn't recognize the window due to the capitalization issue. Tested and confirmed. May be confusing for new comers, assuming they actually read it lol.