Context sensitive (#IfWinActive) doesn't work - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=33687
Any of these hotkeys work fine by themselves, but for any script that contains two or three of these, the hotkeys disable each other. In case anyone can explain what's going on. Cheers.
Code: Select all
#IfWinActive, Mozilla Firefox
^a:: MsgBox Testing 1
#IfWinActive
#IfWinActive, Internet Explorer
Ctrl & a:: MsgBox Testing 2
#IfWinActive
#IfWinActive, Notepad++
^Sc1E:: MsgBox Testing 3
#IfWinActive