I ported some parts from Capslock script by Vonng (source: https://github.com/Vonng/Capslock/blob/master/win/CapsLock.ahk)
Only thing that is not working as I'd like it to work is to set capslock to Off after any kind of capslock combination.
I don't need capslock functionality of any kind, it only annoys me, however its stays on when combined with some keys
but not with another - I cant figure this out.
Code: Select all
SetCapsLockState(AlwaysOff)
* & Up::
SetCapsLockState(Off)
Code: Select all
*$CapsLock::
Send("{ESC}")
SetCapsLockState(Off)
Return
Modifieres wont toggle capslock, but capslock + ] will,
I tried to add the SetCapsLockState(Off) function to all capslock mappings
within the script, but this does not work either.
Is there a simple way to execute SetCapsLockState(off) after EVERY key send
as last action of the script?
Whole script: https pastebin.com /bukK5Sby Broken Link for safety