Skip to content
CYoJkoYPublic

About

A lightweight AutoHotkey v2 script to supercharge your CapsLock key. Includes navigation shortcuts, window management, transparency control, and auto-start management.

Resources

Stars

11 stars

Watchers

0 watching

Forks

Repository files navigation

CapsLock Extended — a second keyboard control layer for Windows

CapsLock Extended

Turn CapsLock into a predictable second control layer for Windows.

Text navigation · Clipboard · Windows · Window Hole · Quick Phrases · Documents

Latest release Build status AutoHotkey v2 Windows GPL-3.0

Overview · Features · Quick Start · Development & Status · Support & License

Design thesis: CapsLock is not replaced. It becomes a modifier layer for related actions, while a double press keeps native CapsLock available.

Overview

CapsLock Extended is a local Windows productivity utility written in AutoHotkey v2. Hold CapsLock and use a compact set of combinations for text navigation, selection, editing, clipboard workflows, window management, browser-tab navigation, Quick Phrases, Window Hole, and document conversion.

The project is intentionally centered on one interaction model:

CapsLock
   ├─ text navigation / selection
   ├─ clipboard / paste
   ├─ windows / tabs
   ├─ Quick Phrase templates
   ├─ Window Hole
   └─ document conversion

Requirements

  • Windows
  • AutoHotkey v2 for running from source
  • Optional ImageMagick and Pandoc for the features that use them

AutoHotkey v1 is not supported.

Features

Shortcut layer

All bindings below use CapsLock as the modifier unless noted otherwise.

Shift-layer shortcuts (Shift, then W / Shift, then S) use a sequential trigger: press CapsLock + Shift first to arm the layer, then press the target key within 2 seconds. This layer is available while the native CapsLock light is off. While the light is on, tapping Shift twice enters mouse control mode, and one Shift or Esc leaves it.

Category Shortcut Action
Native CapsLock ×2 Toggle the native CapsLock state
Navigation J Jump to a specified line
Selection Shift + Left / Right Extend selection by word
Selection Shift + Up / Down Extend selection to line start / end
Selection Space Select the current word
Editing A / D Delete one character backward / forward
Editing Shift + A / Shift + D Delete one word backward / forward
Editing Backspace / Delete Delete the current line
Clipboard C Copy as plain text and add it to history
Clipboard V Paste using the current paste mode
Clipboard Shift + V Open the clipboard history menu
Clipboard F Change the case of the last copied text and paste it
Quick Phrase Shift + P Open the Quick Phrase selector
Documents P Convert clipboard file paths with Pandoc
Files Alt + Q Open the temporary folder used by file workflows
Window T Toggle always-on-top with a persistent pin badge
Window K Terminate a process by PID after confirmation
Window L Search and activate an open window
Commands R Search and execute built-in actions from the command palette
Window W / 8 / Num8 Maximize / restore
Window S / 2 / Num2 Minimize
Window Shift, then W / 8 / Num8 Toggle borderless fullscreen
Window Shift, then S / 2 / Num2 Hide the active window to the tray
Window Left Button Increase active-window opacity
Window Right Button Decrease active-window opacity
Window Middle Button Toggle 10% / 100% ghost mode
Window Hole X Activate Window Hole according to the configured activation mode
Window Hole X, then 1 Temporarily minimize the current focused window and reveal the next layer; repeat while Window Hole is active
Screen O Spotlight: dim everything except the area around the cursor
Screen Z Dynamic Zoom: zoom the whole screen around the cursor
Browser tabs Q / E Previous / next browser tab
Help H / F1 Open the built-in hotkey reference
Settings , Open the settings center
ImageMagick I Open image tools for compression, merging (vertical, horizontal, grid), and format conversion
Mouse CapsLock ON, then Shift twice Enter mouse control mode; press Shift or Esc to exit
Mouse W / A / S / D Move the cursor up / left / down / right
Mouse J / K / L Hold the left / middle / right mouse button
Mouse I / M Scroll up / down; hold to repeat
Mouse Alt + I / M Scroll faster
Mouse Q / E Scroll left / right; hold to repeat
Mouse Alt + Q / E Scroll horizontally faster

The built-in reference is also available from the tray UI and is intended to stay aligned with Hotkeys/HotkeyReference.ahk.

Mouse control mode

While the native CapsLock light is on, tapping Shift twice within 450 ms enters a modal mouse control mode. A persistent cinnabar bar on an ink ground at the top center of the active monitor stays at full width instead of counting down. Press Shift or Esc to exit.

  • W, A, S, and D move the cursor up, left, down, and right at a constant speed. Combining two directions produces diagonal movement with the same total speed as one direction. The Settings center has a cursor speed field that accepts 20 to 300 percent, with 100 percent as the default.
  • J, K, and L hold the left, middle, and right mouse buttons. Keep a key pressed to drag with that button.
  • I and M scroll up and down. Hold either key for continuous scrolling; add Alt for a larger step.
  • Q and E scroll left and right. Hold either key for continuous horizontal scrolling; add Alt for a larger step.
  • Exiting the mode releases every held mouse button, stops movement and scrolling, and hides the indicator. Turning the native CapsLock light off also exits the mode.

Command palette

Press CapsLock + R to open the searchable command palette. Type an action name, category, description, keyword, or shortcut; separate multiple terms with spaces. Matching requires every term, and results rank command-label matches above weaker descriptive matches. Use the arrow keys and Enter to run an action; Esc closes the palette. The palette reuses existing actions and respects the current theme and language. When the search is empty, up to five recently executed actions appear first, newest first. Recent usage is stored only in local Config.ini and is not added to Cloud Sync data.

Window switcher

Press CapsLock + L to search open windows. Use multiple whitespace-separated terms; every term must match the application display name, window title, or process name, and terms may match different fields. Application-name matches rank first, followed by title matches and then process-only matches; exact and prefix matches improve ordering within each tier. Clearing the query restores the original window order. Keyboard navigation, activation, and per-row close actions remain unchanged.

Application-specific hotkeys

Open Settings → Tools → Application Profiles to choose a running application. You can disable the entire CapsLock shortcut layer for that executable or disable selected groups such as text editing, clipboard/history, window management, browser tabs, visual effects, general tools, and Quick Phrase. Rules match executable names case-insensitively; unlisted applications retain the existing behavior. Both rule types are stored locally in the [AppProfiles] section of configs/Config.ini and do not mark Cloud Sync dirty.

Clipboard and smart paste

Plain-text copy

CapsLock + C copies the current selection as text and adds it to local clipboard history.

Smart paste

CapsLock + V routes the clipboard according to the configured paste mode. File-oriented workflows can handle single files, multiple files, directories, mixed paths, text-oriented controls, and supported image inputs.

Clipboard history

CapsLock + Shift + V opens the history menu. The full history interface supports multi-term search: separate query terms with spaces, and every term must match even when terms appear in different parts or lines. For multi-term queries, contiguous full-query matches rank first; single-term searches and non-contiguous multi-term matches favor entries whose matching terms appear in the short preview. Equal-relevance entries retain their newest-first order. The interface also supports multi-selection, batch operations, deletion, and paginated loading. When the query changes, checked entries remain checked only if they stay on the currently displayed result page; entries filtered out are deselected. A change to the underlying history resets checks to prevent stale indices from selecting different records. The highlighted row stays selected across query changes when it remains visible; otherwise, the first visible result is selected without moving focus away from search. With focus in the search field or result list, use Up / Down to move one result and Page Up / Page Down to move five; search focus stays in place when navigating from the search field. With the result list focused, Home jumps to the first current result and End jumps to the last, scrolling it into view while retaining list focus. When the search field is focused, Home and End retain normal caret navigation. Press Enter or Numpad Enter to paste the highlighted entry when no rows are checked; checked rows take precedence for batch file paste. Paste as Text remains checkbox-based for batch actions. With the result list focused, Ctrl+Enter pastes only the focused entry as plain text, reusing the saved target window and clipboard-safe paste flow; ordinary Enter and Numpad Enter retain smart-paste behavior. Ctrl+Shift+Enter runs the existing batch Paste as Text action for checked rows, joining their text with newlines; without checked rows, the existing selection prompt is shown. Ctrl+Shift+C copies checked rows' non-empty text to the clipboard as a newline-separated block; with no valid checked text, the selection prompt is shown and the clipboard is left unchanged. Ctrl+Shift+Delete deletes only checked rows through the existing batch-delete action; with no valid checked rows, the selection prompt is shown and nothing is deleted. With the result list focused, Ctrl+Shift+L loads the next page of 50 entries through the existing Load More action. With the result list focused, Space toggles the current row's checkbox. Ctrl+A checks every visible row if any are unchecked; when all visible rows are checked, Ctrl+A clears them. The search field keeps its normal Space and Ctrl+A text-editing behavior. With the result list focused, Ctrl+F returns focus to the search field and selects the current query so typing can replace it immediately. With the result list focused, Ctrl+C copies the focused entry's text to the system clipboard without closing the dialog or adding a duplicate history item; in the search field, Ctrl+C retains normal text-copy behavior. Ctrl+Shift+P opens the existing preview for the focused entry (falling back to the selected row if necessary); invalid history rows show the selection prompt instead. Escape clears a non-empty query and keeps the dialog open; press Escape again with an empty query to close the dialog. With the result list focused, Delete removes only the focused history entry (falling back to the selected row if focus is unavailable) and keeps the dialog open; it does not delete all checked entries. The search field and other applications retain normal Delete behavior.

History retention is configurable. Automatic trimming can also be enabled for long-running installations.

Quick Phrases

CapsLock + Shift + P opens a local searchable phrase selector.

Search supports multiple whitespace-separated terms across phrase names, categories, and content; every term must match, even when terms occur in different fields. Exact name matches rank first, followed by other name matches, category matches, and content-only matches. With an empty query, phrases are grouped by category in case-insensitive name order, with uncategorized phrases last; phrases within a group keep the order set in the manager, with name and ID as deterministic tie-breakers. This grouping only changes the displayed order and does not rewrite the saved order. A non-empty query continues to use the relevance ranking described above.

Templates can combine user-entered variables with built-in values:

Date: {{date}}
Time: {{time}}
Summary for {{audience}}: {{topic}}
Clipboard excerpt: {{clipboard}}
Next detail: {{cursor}}write the next detail here.

Built-in tokens are filled automatically and do not open an input field:

Token Result
{{date}} Local date in yyyy-MM-dd format
{{time}} Local time in HH:mm:ss format
{{datetime}} Local date and time in yyyy-MM-dd HH:mm:ss format
{{clipboard}} Current plain-text clipboard content
{{date:yyyy/MM/dd}} A date rendered with a custom AutoHotkey FormatTime format
{{time:HH:mm}} A time rendered with a custom format
{{cursor}} A caret marker that is removed and positions the caret after insertion

Use one {{cursor}} marker per template. If it is absent, insertion keeps the existing end-of-text caret behavior.

When a phrase contains ordinary variables:

  1. Unique user-entered placeholders are detected in first-appearance order.
  2. Each placeholder is requested once.
  3. The completed text is previewed before insertion.
  4. Confirming inserts the result into the application that was focused before the selector opened.

Templates containing only built-in tokens are inserted directly without opening the variable dialog.

Phrase data is stored locally under:

configs/
├── QuickPhrases.ini
├── QuickPhrases/
└── CloudSync/
    ├── state.ini
    ├── base.json
    ├── credentials.dat
    ├── backups/
    └── conflicts/
    └── phrase template files

The tray manager provides phrase creation, editing, deletion, categories, and ordering. The shortcut can be disabled without deleting the phrase library.

Window Hole

CapsLock + X provides a temporary window-penetration mode.

The current implementation uses a native Win32 window region rather than a visual blur effect:

  • the configured hole is cut from an eligible top-level window;
  • the revealed lower window remains directly visible through the removed region;
  • the hole follows the pointer while the mode is active;
  • while X is held or the hole is active, mouse-button opacity shortcuts are paused, including an adjustment already repeating; the original opacity is preserved and clicks reach the revealed content;
  • supported shapes are circle, rounded rectangle, and square;
  • activation can be hold or toggle;
  • while Window Hole is active, pressing 1 temporarily minimizes the current focused window, and repeated presses can traverse deeper window layers;
  • incompatible windows can optionally use a temporary minimize fallback;
  • executable and window-class allow/exclude rules can restrict eligible windows.

The default Window Hole settings are:

Setting Default
Diameter 360 px
Shape circle
Activation hold
Fallback minimize enabled
Update interval 30 ms

Releasing the mode restores the affected windows to their captured visual and window state.

Spotlight

CapsLock + O turns Spotlight on and off (or holds it while the key is down, depending on the configured activation mode). It draws a screen-sized translucent layer over every monitor and keeps a clear region centred on the physical cursor, so the area you are pointing at stays bright while the rest of the desktop remains readable through the dim layer.

  • The clear region follows the cursor continuously and works across monitors.
  • Radius, edge softness, dim opacity, shape (circle / rounded rectangle / square), and activation mode are configurable from the Spotlight sub-menu in the tray.
  • Softness 0 gives a hard edge. Any other value feathers the boundary; the gradient is pre-rendered once per configuration change and then only moved, so a soft edge does not cost extra per frame.
  • Both overlay windows are click-through and cannot take focus, so mouse and keyboard input keeps reaching the applications underneath. No window below the overlay is modified, and turning the effect off simply removes the overlays.
  • Spotlight and Dynamic Zoom cover the same pixels, so starting one stops the other.

Dynamic Zoom

CapsLock + Z turns the whole screen into a magnified view of the desktop around the physical cursor.

  • At magnification n the screen shows only the n-th part of the desktop that surrounds the pointer: the ring of content immediately around it, n times bigger. At the default factor of 3 the screen shows a third of the desktop in each direction.
  • The pointer keeps its exact position on screen and the magnified image of the desktop point under it stays under it, so what you aim at is what you click. No pointer warping and no input transform are involved.
  • The view shows a live desktop, not a screenshot, so video, animation, scrolling text and anything else that changes keeps updating while the cursor is still.
  • Magnification (2-16), activation mode (hold / toggle) and the cursor tracking interval are configurable from the Dynamic Zoom sub-menu in the tray.
  • The overlay is click-through and cannot take focus, so the applications underneath keep receiving mouse and keyboard input normally. No window below the overlay is modified, and turning the effect off simply removes the overlay.
  • The view never takes a copy of the screen, so turning it off cannot leave a stale frame behind.
  • Dynamic Zoom and Spotlight cover the same pixels, so starting one stops the other.

Implementation note. Dynamic Zoom uses the Windows Magnification API rather than a GetDC(NULL) + StretchBlt capture loop. The overlay covers the screen, so the source rectangle lies entirely inside the overlay: a plain screen capture would sample the overlay window itself and feed it straight back into the view. The Magnification API is a live view onto the composed desktop and can exclude the effect's own window via MagSetWindowFilterList(), which removes the feedback loop, lets the compositor do the scaling, and means an idle cursor costs nothing. A magnifier control covers the virtual screen and MagSetWindowSource() is pointed at the region to show; its top-left corner is pinned to the cursor (sourceLeft = cursor - (cursor - viewLeft) / factor) so the pointer never moves relative to the content underneath it. It requires Windows 8 or later; on older systems the effect reports that it is unavailable instead of starting.

Window and tab controls

CapsLock also acts as a compact window-control layer:

  • T toggles always-on-top and reports the state through OSD and sound feedback. A window pinned this way also keeps a small click-through pin badge on its title bar, so the pinned and unpinned states stay distinguishable after the toast disappears. Only windows pinned with CapsLock + T are badged and listed: a window that another program or the system made topmost stays unmarked, and pressing T on it unpins it first, exactly as before. The badge follows the window when it moves, resizes, is minimized, or is dragged to another monitor, is scaled to the window's DPI, and disappears on its own if anything else clears the top-most style. Badges are rebuilt when CapsLock- reloads only for windows pinned again with T, because ownership is tracked per session. Pinned windows are also listed under Always-on-top in the tray menu, where a click unpins one; the badge itself can be turned off from the same sub-menu.
  • W, 8, and Num8 maximize or restore the active window.
  • S, 2, and Num2 minimize the active window.
  • Shift, then W, 8, or Num8 removes the window frame and resizes the active window to the full rectangle of its monitor, which also covers the taskbar. Pressing the same sequence again restores the recorded style, position, size, maximize state, and top-most state, so the switch is always reversible.
  • Shift, then S, 2, or Num2 hides the active window to the tray. The application keeps running and stays reachable: hidden windows are listed under Hidden windows in the CapsLock- tray menu, where one click restores a window and Restore all hidden windows brings every hidden window back.
  • Both shift-layer actions use a sequential trigger: press and hold CapsLock + Shift to activate the shift layer (a 2-second window), then press the target key. This avoids key-conflict issues on certain keyboard layouts where simultaneous CapsLock + Shift + letter combinations could not be detected reliably. The layer is unavailable while the native CapsLock light is on, because tapping Shift twice then enters mouse control mode.
  • The mouse-button bindings adjust active-window opacity; the middle button switches between normal and 10% ghost mode. They pause while X is held or Window Hole is active, including an adjustment already repeating, so clicks reach the revealed content.
  • Q and E switch browser tabs using the corresponding Ctrl+PgUp / Ctrl+PgDn actions.
  • L opens a searchable window switcher that lists application icons, window titles, and process names.
  • Both window modes are undone automatically when CapsLock- exits or reloads, so a window is never left frameless or unreachable.

The switcher stays keyboard-first: type to filter, use Up / Down / PageUp / PageDown to move through results, and press Enter or double-click to activate. Its presentation is configurable from the tray: application icons, icon size, row density, the process column, and selected-row highlighting.

Windows can also be closed from the switcher: a small close button sits at the right edge of every row, and the bottom bar offers the same action for the selected row. Closing uses a graceful WM_CLOSE first; if the window does not respond, the switcher asks before ending the process, so unsaved work is not discarded silently.

Document conversion

CapsLock + P converts clipboard file paths through Pandoc.

The integration supports a broad list of Pandoc input/output formats, expands folders recursively, applies the configured ignore rules, and provides progress feedback for batch processing.

Optional ImageMagick integration

ImageMagick is used for image-to-PDF workflows when required by smart paste.

Press CapsLock + I to open the image tools panel. Add images with the file picker or drop them directly onto the window. Use one or more images to compress or convert, or at least two to merge vertically, horizontally, or as a grid with a configurable column count. Merges accept a background colour chosen from the native Windows colour picker together with a separate opacity slider, so transparent padding survives in PNG and WebP output; JPEG drops the alpha channel and keeps the RGB value. An optional output name is used exactly for a single result and gains _1, _2 suffixes for batch runs. The panel writes new files with unique names and leaves the originals unchanged. Configure magick.exe in Settings > Tools before using these operations.

ImageMagick is optional; the core application remains usable without it.

Localization

The project ships a CSV-based translation resource with 13 interface languages:

en · fr · zh · ja · ko · zh_TW · ru
pl · es · pt · de · tr · it

Language selection is available from the tray. Translation caches are generated locally from lang.csv.

Theme

Two interface themes ship with the application and are selectable from the tray settings:

Theme Notes
Dark Ink canvas, layered graphite paper surfaces, hairline rules, and muted cinnabar for selection and primary actions.
Light Warm paper canvas, off-white cards, clay-tinted outlines, and deep cinnabar for selection and primary actions.

The interface follows Wabi Press: paper and ink establish hierarchy, cinnabar marks primary actions and active rails, and moss, ochre, and indigo distinguish status and focus. Square-edged paper surfaces, hairline rules, restrained seals, readable typography, and consistent state feedback carry through the settings center, menus, OSD, history, and Quick Phrase windows. The dark and light palettes live centrally in UI/Theme.ahk; controls consume semantic tokens instead of defining local colors.

Quick Start & Configuration

Download a release

Download the latest executable from GitHub Releases.

Artifact Target
CapsLock-.exe Windows x64
CapsLock-_x86.exe Windows x86

Release builds are produced by GitHub Actions from version tags matching v*.*.*. The executables run entirely on AutoHotkey v2; ImageMagick and Pandoc remain optional integrations for their respective document workflows.

Run from source

  1. Install AutoHotkey v2.
  2. Clone or download this repository.
  3. Keep CapsLock-.ahk together with the repository's source directories.
  4. Run CapsLock-.ahk.
  5. Confirm the CapsLock- tray icon is visible.

The application creates its runtime configs/ directory automatically.

Optional integrations

ImageMagick

Install ImageMagick and configure magick.exe from Settings > Tools when image-to-PDF conversion or the image tools panel is needed.

Pandoc

Install Pandoc and configure pandoc.exe from the tray menu when document conversion is needed. The same tray submenu controls the output format.

Configuration files

Runtime configuration is kept outside the source modules:

configs/
├── Config.ini
├── ClipHistory.bin
├── QuickPhrases.ini
└── QuickPhrases/

The application creates this directory automatically. Cloud Sync remains opt-in; without an enabled and configured provider, the application stays entirely local. The CloudSync directory contains synchronization metadata, encrypted local credentials, backups, conflicts, and staging state. These files are not uploaded as a directory.

Important configuration areas include:

Area Purpose
[Cleanup] Delete mode, delete delay, cleanup interval
[History] Clipboard history limit
[General] Paste mode, auto-clean, language
[QuickPhrase] Quick Phrase enable/disable state
[AppProfiles] Per-executable full-layer and shortcut-group disable rules
[Pandoc] Pandoc path and output format
[WindowHole] Diameter, shape, activation, update interval, fallback, executable/class rules
[WindowSwitcher] Application icons, icon size, row density, process column, selected-row highlight
[UI] Interface theme (dark / light)
[Ignore] Gitignore-style path/file patterns

Most settings are intentionally exposed through the tray rather than requiring manual INI editing.

Cloud Sync

Cloud Sync is optional and disabled by default. Normal local use does not require a CapsLock account or a cloud provider.

Current provider adapters:

  • GitHub Gist
  • GitHub Private Repository
  • Google Drive
  • OneDrive
  • WebDAV

Only intentionally syncable configuration and Quick Phrase data are included in the sync package. Clipboard history, transient runtime state, window handles, temporary files, and provider credentials are excluded.

Cloud Sync uses a versioned JSON package with integrity verification, a device identity, local synchronization state, conflict detection, three-way merging, and transactional local replacement with backups.

Provider credentials and OAuth refresh tokens are stored locally with Windows DPAPI and are never placed in the synchronization payload.

Configuration defaults

The current code defines these notable defaults:

History limit             10,000 entries
Delete mode               1 (delayed)
Delete delay              10 seconds
Cleanup interval          30 seconds
Paste mode                1
Auto history trim         disabled
Quick Phrase              enabled
Window Hole diameter      360 px
Window Hole shape         circle
Window Hole activation    hold
Window Hole fallback      enabled
Window switcher icons     enabled
Window switcher icon      24 px
Window switcher density   normal
Window switcher process   shown
Theme                    dark

The interface language is initialized by the language system and may be persisted in [General]. The theme is persisted in [UI].

Security and privacy

Clipboard history is local data and may contain sensitive text, file paths, or application-specific content.

The history persistence layer applies a fixed XOR-based transform. This is obfuscation, not strong cryptography, and it should not be treated as protection against a local attacker.

For stronger protection, rely on Windows storage protections such as BitLocker or EFS around the relevant data rather than treating the built-in transform as a cryptographic boundary.

Development & Status

Project structure

CapsLock-/
├── .github/
│   ├── ISSUE_TEMPLATE/
│   └── workflows/
│       ├── release.yml
│       └── test.yml
├── Config/
├── Core/
├── History/
├── Hotkeys/
├── Tray/
├── UI/
├── Utils/
├── assets/
├── scripts/
├── CapsLock-.ahk
├── lang.csv
├── LICENSE
└── README.md

The entry script wires the project modules together and initializes language, configuration, clipboard history, Quick Phrases, cleanup, tray handling, and clipboard listeners.

The main functional boundaries are:

Directory Responsibility
Config/ Persisted settings and application runtime state
Core/ Clipboard, file, cleanup, Pandoc, Quick Phrase, Window Hole, and window services
History/ Clipboard history storage, search, paging, and history actions
Hotkeys/ User-facing keyboard bindings and action routing
Tray/ Tray menus and settings
UI/ Semantic theme tokens, shared controls, OSD, and feature windows
Utils/ Language resources and focused reusable helpers
scripts/ Build and headless regression helpers

Architecture

CapsLock Extended keeps the keyboard layer, feature logic, state, and UI separated:

CapsLock-.ahk
   │
   ├── Hotkeys ───────► actions
   ├── Core ──────────► feature logic
   ├── Config ────────► persistent state
   ├── History ───────► clipboard persistence / UI
   ├── Tray ──────────► configuration controls
   └── UI / Utils ────► presentation + shared services

The entry point owns composition and lifecycle only. Feature behavior stays in Core/ and History/, settings persistence stays in Config/, and presentation reads semantic tokens from UI/Theme.ahk. Shared helpers are included once and reused by windows instead of maintaining per-screen color rules or duplicated setup flows.

Testing and release automation

The repository includes GitHub Actions for:

  • AutoHotkey syntax validation and headless source regressions through .github/workflows/test.yml;
  • tagged x86/x64 release builds through .github/workflows/release.yml.

Release compilation uses AutoHotkey v2.0.28 through the configured build action. The manual workflow also offers a separate, opt-in AHKCompiler evaluation artifact; it does not affect tagged release executables. CI installs ImageMagick only to generate the application icon.

Project status

The project is centered on local Windows productivity workflows. The light theme and Cloud Sync are both implemented; Cloud Sync remains opt-in, and normal local use has no account or network requirement.

Known development considerations

Window Hole is a comparatively low-level feature because it interacts with native Win32 window regions, DWM attributes, hit testing, focus, and temporary window state. Changes in that area should be tested against overlapping windows, drag-and-drop, multiple DPI/scaling configurations, and special Windows applications.

Translation changes should be made in lang.csv and then checked through the generated language-cache path used by the application.

Shortcut changes should keep these sources synchronized:

Hotkeys/HotkeyBindings.ahk
        ↓
Hotkeys/HotkeyReference.ahk
        ↓
built-in reference UI + README shortcut table

Support & License

Support

CapsLock Extended is maintained as a local, modular utility. Support helps sustain ongoing maintenance, debugging, documentation, localization, and feature work.

Bug reports and feature requests

Use GitHub Issues for reproducible bugs and focused feature requests.

For a useful bug report, include the Windows version, AutoHotkey version, affected shortcut or feature, reproduction steps, and the exact error text when available. Do not include clipboard contents, credentials, or other sensitive local data.

License

CapsLock Extended is licensed under the GNU General Public License v3.0 (GPL-3.0).

See LICENSE for the complete license text.

CapsLock as a second control layer for Windows.

About

A lightweight AutoHotkey v2 script to supercharge your CapsLock key. Includes navigation shortcuts, window management, transparency control, and auto-start management.

Resources

Stars

11 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages