hotkeys can disable each other

Get help with using AutoHotkey and its commands and hotkeys
User avatar
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

hotkeys can disable each other

26 Aug 2017, 14:23

IMEime posted here, an interesting example script which I recreate below:
Context sensitive (#IfWinActive) doesn't work - AutoHotkey Community

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, Internet Explorer
Ctrl & a:: MsgBox Testing 2

#IfWinActive, Notepad++
^Sc1E:: MsgBox Testing 3
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA

Return to “Ask For Help”

Who is online

Users browsing this forum: davegish, Google [Bot], malcev, millansoft, sanmaodo, Spawnova, XMCQCX, Xtra, yalsch and 52 guests