Ahk scripts don't work in most programs i use. Note that the script has nothing to do with that programs because I want to trigger Windows shortcut.
For example
Code: Select all
#NoTrayIcon
SetCapsLockState, alwaysoff
CapsLock & w::
Send, {LWin Down}{RCtrl Down}{Right}{RCtrl Up}{LWin Up}
return
CapsLock & q::
Send, {LWin Down}{RCtrl Down}{Left}{RCtrl Up}{LWin Up}
return
Will when I have focus on Task Manager, Warcraft3, Audacity's label editor, Magix Video Editor, and more. Works fine in Firefox and Notepad++.
Why is that? How to fix it?