Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.21 KB

File metadata and controls

32 lines (22 loc) · 1.21 KB

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.