Code: Select all
ToggleCaps := 0
^Capslock::
SetCapsLockState, AlwaysOff
Return
+^Capslock::
SetCapsLockState, On
Return
Code: Select all
Capslock & f::
Send ^{Enter}
Return
Code: Select all
ToggleCaps := 0
^Capslock::
SetCapsLockState, AlwaysOff
Return
+^Capslock::
SetCapsLockState, On
Return
Code: Select all
Capslock & f::
Send ^{Enter}
Return
This led me to believe that your real script differs from what you posted. In any case, I am not reproducing your issue at my end, so perhaps others will be more helpful. Best of luck.So I have the following code, and tons of functions with CapsLock as a modifier.