; Disable default CapsLock functionality
; Post Esc if pressed alone
; Map CapsLock modified hotkeys
#If, GetKeyState("CapsLock", "P")
In the second script, want to override CapsLock mappings for very specific active windows:
#IfWinActive ahk_class Starcraft
#IfWinActive ahk_class AOE2
However, I can't get the two scripts to play together nicely. It seems whichever order they are executed/opened in, affects precedence. I know I could do this if I combined the scripts into one, but I'm trying to keep functionality separate so that I can share the first script on github, but still have my custom window specific overrides locally. Any idea if this is possible?