software · Q1294
AutoHotkey
AutoHotkey tool for keyboard-driven desktop automation or reusable text expansion.
Overview
AutoHotkey is an open-source Windows automation tool driven by its own scripting language. It is especially suited to keyboard shortcuts, typed abbreviations and event-driven desktop actions. Current v2 scripts use a different language model from older v1 examples, and the project states that v1 is no longer maintained.[2][3]
Hotkeys and hotstrings
Hotkeys bind keyboard, mouse or controller inputs to actions. Hotstrings usually replace a typed abbreviation, but can also run scripted operations. Their ending-character and case behavior is configurable. This supports both repetitive text entry and broader desktop shortcuts, while keeping the trigger distinct from the action it invokes.[4][5]
Application-sensitive behavior
The v2 context directive allows hotkeys and hotstrings to depend on an expression, such as which application window is active. An inactive keyboard or mouse binding normally leaves the native input behavior available. Context rules are useful when a shortcut should affect one application without replacing the same key combination everywhere.[6]
Script execution
Scripts are plain-text programs loaded and validated before execution. Startup code runs when the script begins; hotkeys, timers, visible interfaces or other event sources can keep it running afterward. Opening a script for execution is therefore different from merely importing passive configuration, even if its most visible purpose is a small keyboard shortcut.[7]
Version migration
The v1-to-v2 guide documents removal of legacy command syntax, changes to variables and expressions, and function-based hotkey bodies. Existing v1 scripts should not be assumed to run unchanged under v2. Migration requires checking both language syntax and library behavior, rather than only installing a newer interpreter or renaming the file.[3]
Licensing and platform
AutoHotkey is distributed under GPL version 2 terms, with Windows 32-bit and x64 build targets documented by the project. This article concerns the Windows automation utility, not a cross-platform implementation of its scripting language. Source availability and runtime platform support are separate properties.[1][2]
Substitution considerations
AutoHotkey can substitute for AutoIt for Windows keyboard-driven automation and repetitive desktop tasks. Its hotkey and hotstring syntax offers a different authoring model from AutoIt's BASIC-like language. Existing scripts, GUI-control assumptions and external-library calls need adaptation; shared Windows support does not make their automation files interchangeable.[2][4][5][8]
Capabilities & limitations
Unchanged v1-to-v2 scripts
limitedThe migration guide documents substantial syntax and library changes; old scripts require review.[3]
Desktop automation and text expansion · Windows · Operating-system, application and permission requirements apply
1 source · check evidence
Legacy syntax removal and function-style changes
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
References
- AutoHotkey license
GPL version 2
vendor · retrieved 2026-10-07 - AutoHotkey README
Custom scripting; Windows builds; v1 no longer maintained
vendor · retrieved 2026-10-07 - AutoHotkey v1-to-v2 changes
Legacy syntax removal and function-style changes
vendor · retrieved 2026-10-07 - AutoHotkey v2 hotkeys
Keyboard/mouse shortcuts, modifiers and actions
vendor · retrieved 2026-10-07 - AutoHotkey v2 hotstrings
Abbreviation replacement and scripted actions; ending characters
vendor · retrieved 2026-10-07 - AutoHotkey context-sensitive triggers
Conditional hotkeys/hotstrings and native behavior when inactive
vendor · retrieved 2026-10-07 - AutoHotkey scripts
Plain-text scripts; startup execution; event persistence; syntax validation
vendor · retrieved 2026-10-07 - AutoIt
Windows BASIC-like automation; controls, GUIs, COM and AutoItX
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 1342 | 2026-10-14 02:29:49 | /* wbeditentity-create-item:0| */ sf:c29708c8-51fe-4033-94dd-cb30eeb867ce:v1 | Add AutoHotkey with cited automation scope, platform and configuration limits; no scripts executed, applications installed or permissions changed. Official webs | attribution: /proposals/c29708c8-51fe-4033-94dd-cb30eeb867ce |