What is AutoHotkey?
AutoHotkey (AHK) is a free, open-source macro-creation and automation software for Windows that allows users to automate repetitive tasks. It is driven by a scripting language that was initially aimed at providing keyboard shortcuts, otherwise known as hotkeys, that over time evolved into a full-fledged scripting language. (de - 帮助)
AHKScript.org is a new community consisting of the active AutoHotkey developer(s) as well as other enthusiasts. Unfortunately, the old autohotkey.com domain is not under the control of the developers and it continues to promote an outdated version of the software. New users are encouraged to migrate and participate at this new site. (More info)
Getting started might be easier than you think
Check out the quick-start tutorial for a brief overview of what you can do with AutoHotkey.
You can use AutoHotkey to:
- Automate almost anything by sending keystrokes and mouse clicks.
You can write a mouse or keyboard macro by hand or a macro recorder.
- Remap keys and buttons on your keyboard, joystick, and mouse.
- Create hotkeys for keyboard, joystick, and mouse.
Essentially any key, button or combination can become a hotkey.
- Expand abbreviations as you type them.
For example, typing "btw" can automatically produce "by the way".
- Retrieve and change the clipboard's contents.
- Convert any AHK script into an executable file that can be run on computers where AutoHotkey is not installed.
- Don't know where to start or how to fix your script?
Join the friendly AutoHotkey community and ask for help.
Intermediates & Experts
You can also:
- Create custom data-entry forms, user interfaces and menu bars.
See GUI for details (you can use a Gui editor).
- Automate data entry jobs by reading data from text files, XML, CSV, Excel and various database formats.
- Read signals from hand-held remote controls via the WinLIRC client script.
- Use the Component Object Model (COM).
- Use array/associative array/OOP (Objects).
- Use variadic functions.
- Use DLL calls and Windows Messages.
- Use Perl Compatible Regular Expressions (PCRE).
- Use interactive debugging features and more.
The AutoHotkey installer includes the English documentation, script compiler and Window Spy:
A tool to retrieve detailed information about program windows and controls. Right click AutoHotkey tray icon to activate.
About the Foundation
Want to know more about the AutoHotkey Foundation? Read about it here.
User Developed Tools
A SciTE-based AutoHotkey script editor that includes syntax highlighting, auto-completion, etc.
A tool to draw a Graphical User Interface (GUI) for your AHK scripts.
An advanced AutoHotkey Script Recorder and Writer.
iWB2 Learner (aka iWebBrowser2)
A tool to retrieve information about Internet Explorer webpages, useful for automating the IE browser using COM.