So I want to use the CapsLock key as a temporary insert key, meaning I want the insert mode functionality (overwrite) only when I have CapsLock is pressed.
I have no idea what this type of script is called and my searches describing this problem didn't yield any useful results. I guess this is a type of question that is asked regularly but I'm sorry, I could find no solution other than to ask here.
Thanks for the help in advance.
[SOLVED] Using CapsLock (or any other key) as temporary modifier (only when it's pressed)
Re: [SOLVED] Using CapsLock (or any other key) as temporary modifier (only when it's pressed)
Okay so this has helped me to achieve it:
Code: Select all
SetCapsLockState, alwaysoff
return
$CapsLock::
Send {Ins}
KeyWait, CapsLock
Send {Ins}
return
Who is online
Users browsing this forum: Bing [Bot], mstrauss2021, Spawnova, william_ahk, zephyrus2706 and 359 guests