Code: Select all
#SingleInstance force
CapsLock & p::Send,FOOBAR
If your CapsLock is off.
once you trigger the Hotkey it gives you "foobar"(lowercase) [btw --- CapsLock is on now]
and AHK knows you are using the CapsLock combination,
it revert the CapsLock back to the off and the second will spawn "FOOBAR"
what's the problem ?
and how to solve it !?
Q2.
Is possible to force one Send command to gives always lowercase letter ?
I need this feature to prevent the Vim will not gives wrong command or I need to toggle the CapsLock always.
Hope someone can understand what I mean,
If you couldn't.Tell me.I'll improve my describing as best I can.