This small windowless program allow you swich keyboard layout with CapsLock key. While non-standard keyboard layout will bright Scroll Lock indicator. Usual Caps Lock function available via Shift + CapsLock key combination. I recommend set "To turn off Caps Lock -- SHIFT key" in Windows Advanced Key Settings.
Forked from capslang.
irm https://raw.githubusercontent.com/edanko/capslang/main/install.ps1 | iex# Scheduled task (default, runs with admin privileges)
irm https://raw.githubusercontent.com/edanko/capslang/main/install.ps1 | iex
# Startup folder (no admin required)
irm https://raw.githubusercontent.com/edanko/capslang/main/install.ps1 | iex -Args "-m 1"
# Quiet mode (no prompts)
irm https://raw.githubusercontent.com/edanko/capslang/main/install.ps1 | iex -Args "-q"Other options
- Download capslang-windows-x86_64.zip
- Extract
capslang.exe - Place it in
%LOCALAPPDATA%\capslang\capslang.exe
- Runs with highest privileges
- Works in all applications (including admin apps)
schtasks /create /tn CapsLang /sc ONLOGON /tr "%LOCALAPPDATA%\capslang\capslang.exe" /rl HIGHEST /delay 0000:30 /fOr via GUI:
- Open Task Scheduler (taskschd.msc)
- Click "Create Basic Task"
- Name it "CapsLang" and click Next
- Select "When I log on" and click Next
- Select "Start a program" and click Next
- Browse to capslang.exe location and click Next
- Check "Open the Properties dialog for this task when I click Finish" checkbox
- Click Finish
- In Properties dialog, check "Run with highest privileges" checkbox
- Click OK
- Right-click the task and select "Run" to start it immediately
- No admin required
- Runs when you log in
- Limited to your user account
$target = "$env:LOCALAPPDATA\capslang\capslang.exe"
$shortcut = "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup\CapsLang.lnk"
$ws = (New-Object -ComObject WScript.Shell).CreateShortcut($shortcut)
$ws.TargetPath = $target
$ws.WorkingDirectory = "$env:LOCALAPPDATA\capslang"
$ws.Save()Or you can copy the capslang.exe to your Startup (%AppData%\Microsoft\Windows\Start Menu\Programs\Startup) folder.
irm https://raw.githubusercontent.com/edanko/capslang/main/uninstall.ps1 | iexOther options
del "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\CapsLang.lnk"
schtasks /Delete /TN "CapsLang" /F
rmdir /s /q "%LOCALAPPDATA%\capslang"| Action | Key |
|---|---|
| Switch layout | CapsLock |
| Normal CapsLock | Shift + CapsLock |
| Exit program | Ctrl + Alt + L |
Just run make build-release to compile it. Binary will be in zig-out/bin folder.
GNU GPL v3