SHARE
TWEET

Capslock Windows Switcher

congdantoancau Feb 18th, 2020 (edited) 523 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; CAPSLOCK SWITCH WINDOWS
  2. ; REmember to initial variable [lock] in the very first of the script
  3. Capslock::
  4.     lock := !lock
  5.     if (lock)
  6.     {
  7.         Send, !{esc}
  8.     }
  9.     else
  10.     {
  11.         Send, !+{esc}
  12.     }
  13.     WinActivate, a
  14. return
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top