AHK-macOS-like-Lang-Switch

AHK code to make language switch on Windows like macOS:

  • When CapsLock off, press CapsLock to switch between current language and the most recent language
  • When CapsLock off, long-press CapsLock to turn it on
  • When CapsLock on, press CapsLock to turn it off