Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CapsLock::
  2.     KeyWait, CapsLock, T0.5
  3.     if ErrorLevel {
  4.         SetCapsLockState, Off
  5.     } else {
  6.         If (A_PriorKey="CapsLock") {
  7.             SetCapsLockState, % GetKeyState("CapsLock","T") ? "Off" : "On"
  8.         }
  9.     }
  10.     KeyWait, CapsLock
  11. Return
  12.  
  13. #if GetKeyState("CapsLock", "P")
  14. p::send {U+03C0} ;pi
  15. d::send {U+03B4} ;delta
  16. s::send {U+00A7}
  17. #If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement