I have a program which will include quite a lot of hotkeys. I am trying not to interfere with hotkeys from other programs. I found a post which showed how to map the caps lock to a hyperkey (ctrl-alt-shift-win). From Here I can !^+#a:: code, etc. This does pretty well for me, but I was thinking Capslock to F24 would be sure to avoid conflicts, however attempting to modify the code did not work.
Code: Select all
*CapsLock::
SetKeyDelay -1
Send {Blind}{Ctrl DownTemp}{Alt DownTemp}{Shift DownTemp}{LWin DownTemp}
return
*CapsLock up::
SetKeyDelay -1
Send {Blind}{Ctrl Up}{Alt Up}{Shift Up}{LWin Up}
return
!^+#a:: tooltip Hyper-%A_ThisHotkey%