The ultimate automation scripting language for Windows
open sourceGPL-2.0-or-laterfree
AutoHotkey is a free, open source scripting language for automating the Windows desktop. Scripts are plain .ahk text files that define hotkeys for the keyboard and mouse, remap keys and buttons, and expand hotstrings (autocorrect-like replacements), and they fill in forms, click, send keystrokes, build small GUIs and call Windows DLLs with DllCall. The AutoHotkey interpreter runs a script directly, or a script is compiled with the interpreter into one self-contained .exe (Ahk2Exe). A variable holds a value of any type; objects are prototype-based, with class syntax, and freed by reference counting. Version 2 is current, and version 1 is no longer maintained. Chris Mallett created it, Steve Gray (Lexikos) maintains it, and the AutoHotkey Foundation, a volunteer non-profit, looks after it.
Libraries for AutoHotkey
Talira doesn't list any yet.
Problems it solves
- make a keyboard shortcut that types a phrase or opens a program on Windows
- remap keys or mouse buttons on my Windows PC
- automate repetitive clicking and typing in a Windows app
- expand abbreviations into full text as I type anywhere in Windows
- a small scripting language for Windows desktop macros
- turn a Windows automation script into a standalone exe
Features
- hotkeys for the keyboard and mouse
- remapping keys and mouse buttons
- hotstrings: autocorrect-like text replacements
- sending keystrokes and clicks, filling in forms
- GUI windows from a script
- calling Windows DLL functions (DllCall)
- compiling a script into a self-contained .exe
- prototype-based objects with class syntax
- 32-bit and 64-bit builds
Limitations
Alternatives
The same job
These do what AutoHotkey does.
- Keyboard Maestro Macro and automation app for macOS
- Terminator Playwright for your entire desktop: native app automation through accessibility APIs
- AutoIt A freeware BASIC-like scripting language for automating Windows
- PowerShell A cross-platform task automation solution: command-line shell, scripting language and configuration management
