Skip to content

Automates input language switching and key remapping in Windows using AutoHotkey v2.

License

Deep0Thinking/AHK-Key-Swap-and-Language-Switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

AHK-Key-Swap-and-Language-Switch

Lightweight AutoHotkey v2 scripts for fast language switching and helpful key tweaks.

Scripts

scripts/KeySwap-LanguageSwitch.ahk

Physical bottom-left keys (left → right): LWin, LAlt, LCtrl.

  • Caps Lock: switch input language
  • Shift+Caps Lock: toggle real Caps Lock
  • Remaps:
    • LCtrlLWin
    • LAltLCtrl
    • LWinLAlt
  • Combos: swaps Ctrl+Tab with Alt+Tab (after remaps) to trigger window switching.

scripts/LanguageSwitch-PrimarySecondary.ahk

  • Caps Lock sets PRIMARY_KLID
  • Shift+Caps Lock sets SECONDARY_KLID

(Define those KLIDs at the top of the script.)

Usage

  1. Install AutoHotkey v2.
  2. Clone or download this repository.
  3. Use AutoHotkey to compile the .ahk file into an .exe.
  4. Open the Startup folder by pressing Win+R, typing shell:startup, and pressing Enter.
  5. Place the .exe file in that folder so it runs automatically when Windows starts.

About

Automates input language switching and key remapping in Windows using AutoHotkey v2.

Topics

Resources

License

Stars

Watchers

Forks