Skip to content

Windows

The 2013–2015 AutoHotkey script where Capslock began, kept with its source and an old prebuilt executable.
Archived, not maintained

The Windows version is an AutoHotkey script from 2013–2015. The Mac V2 README listed Windows XP, Vista, 7, 8 and 10 as its systems. Neither the script nor the prebuilt executable is tested on current Windows.

Capslock began on Windows in 2013, two years before the first Mac version. The script turns Caps Lock, which it calls the "useless key", into a function key like Ctrl and Alt by combining it with almost every other key on the keyboard. Caps Lock itself is kept off, and its old job moves to Caps Lock + `.

Some of its bindings differ from the Mac versions. The Mac V2 README notes this, and that the Windows version is no longer maintained.

What it did

The README summarises the script in one table. This version of it fills in the details from the script itself.

KeysWhat they do
Caps LockEscape, handy in Vim
Caps Lock + `Turn Caps Lock on or off
Caps Lock + H J K LVim-style arrow keys
Caps Lock + W BOne word right, one word left
Caps Lock + U I O PPage Up, Home, End, Page Down
Caps Lock + N M , .Delete: Ctrl+Backspace, Backspace, Delete, Ctrl+Delete
Caps Lock + Z X C V A YCtrl+Z, X, C, V, A, Y: the usual Windows editing shortcuts
Caps Lock + arrow keysMove the mouse pointer
Caps Lock + EnterMouse click
Caps Lock + F1 – F6Mute, volume down, volume up, play or pause, next track, stop
Caps Lock + Q SWindow and tab control
Caps Lock + ; ' [ ]Convenience mappings
Caps Lock + D F E R TFrequently used programs, chosen by the user
Caps Lock + 1 – 5Visual Studio shortcuts, chosen by the user
Caps Lock + 6 7 8 9 0 - =The shifted symbols, as if Shift were held

Running it

The README gives no installation steps. The repository holds the script in two forms:

  • The source, CapsLock.ahk, runs with AutoHotkey. It uses AutoHotkey v1 syntax.
  • A prebuilt executable, CapsLock.exe, runs without AutoHotkey.
Old, unsigned binary

CapsLock.exe is an old, unsigned, 32-bit prebuilt binary. It has not been tested on current Windows. If you want to try the layout, read the source and run it with AutoHotkey v1 instead.

Files

All of the Windows version is in win/ in the repository.

FileWhat it is
CapsLock.ahkThe AutoHotkey source
CapsLock.exeThe prebuilt executable, 207,868 bytes
README.mdThe original summary

The SHA-256 of CapsLock.exe in the repository is e0d6a4d2de155860aed164281ed16f5871aaca95cccc6fe1d46db2b16004cb80.