I moved from Win7 to Win10 a few days ago. Mostly AHK still works fine, except for one simple hotkey that emulates Control-F4 using my PC's numpad Insert / 0 key:
Code: Select all
NumpadIns::
Sleep, 250
Send, ^{F4}
return
Numpad0::
Sleep, 250
Send, ^{F4}
return
My problem is that Chrome is the only thing this hotkey doesn't work in. The hotkey works fine (closes the active window) for TextPad and Word, now that I'm in Win10. How weird!
After some googling, I tried putting in Sleep commands (as you see). I never needed them before. But, no joy. (I should remove them, I guess.)
Another thing that I did was to run the program as Administrator, by editing the Compatibility tab for the EXE. But also no joy.
Can anyone help? This is pretty annoying ... I blow through tons of web pages and only have to lower the thumb of my "mouse hand" to close them with Numpad 0. A.k.a. "Thank You, AutoHotKey".