How to set up AutoHotkey so that when I press the Caps Lock, it will instead send the ESC key to the computer?
Mapping Caps Lock key to ESC key can be done as:
Capslock::Esc
Using this format, you can easily map Caps Lock to any key, for example, the enter key:
Capslock::Enter
If you want to also map Esc to Capslock at the same time, do this:
$Capslock::Esc
$Esc::Capslock
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With