AutoHotkey
AutoHotkey is a free, open-source scripting language for Windows focused on custom keyboard shortcuts, text expansion, and GUI automation, letting users remap keys and automate repetitive tasks with simple hotkey-driven scripts.
Definition
AutoHotkey is a free, open-source scripting language for Windows focused on custom keyboard shortcuts, text expansion, and GUI automation, letting users remap keys and automate repetitive tasks with simple hotkey-driven scripts.
Overview
AutoHotkey (often abbreviated AHK) was released in 2003 as a free automation tool for Windows, distinguished from similar tools by its hotkey-centric design: scripts are frequently organized around key or mouse-button triggers that fire a block of automation logic, making it exceptionally quick to bind custom shortcuts, remap keys, or create text-expansion abbreviations. Its scripting language supports variables, loops, functions, and GUI creation, but the signature use case remains lightweight, everyday productivity automation — for example, expanding a short abbreviation into a full email signature, remapping Caps Lock to another function, or triggering a multi-step macro with a single keystroke. Beyond simple hotkeys, AutoHotkey exposes the same class of Windows UI automation capabilities found in AutoIt: it can find and manipulate windows and controls, simulate keyboard/mouse input, and interact with legacy applications lacking a scripting API. Scripts can be compiled into standalone executables for easy distribution, and the language has an active open-source community maintaining an extensive library of shared scripts, functions, and GUI examples. AutoHotkey v2 introduced a more modern, consistent object-oriented syntax as a departure from the loosely-typed v1 language, though both versions remain in active use. AutoHotkey is especially popular among power users, gamers (for macro creation, subject to game terms of service), accessibility users needing custom input remapping, and IT professionals scripting routine desktop tasks. Its low barrier to entry — many useful scripts are just a few lines — combined with its free and open-source nature has made it one of the most widely used Windows automation tools outside of enterprise RPA platforms.
Key Features
- Hotkey- and hotstring-driven scripting for keyboard/mouse remapping
- Text expansion (abbreviation-to-full-text) automation
- Windows GUI automation: window/control detection and manipulation
- Simulated keyboard and mouse input for macros
- Custom GUI creation for building simple utility dialogs
- Compiles scripts into standalone Windows executables
- Free and open-source with an active community script library
- AutoHotkey v2 offers a modern, more structured object-oriented syntax