AutoHotkey
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. And if you're really interested, here's a great video about it [here]. (de - 帮助)
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.
Beginners
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.
Standard Tools
The AutoHotkey installer includes the English documentation, script compiler and Window Spy:
ahk2exe
Convert any AHK script into an executable file that can be run on computers where AutoHotkey is not installed.
More info
Window Spy
A tool to retrieve detailed information about program windows and controls.
Right click AutoHotkey tray icon to activate.
Updates
For the latest updates on AutoHotkey: Check the Changelog or Announcements forum.
About the Foundation
Want to know more about the AutoHotkey Foundation? Read about it here.
User Developed Tools
SciTE4AutoHotkey
A SciTE-based AutoHotkey script editor that includes syntax highlighting, auto-completion, etc.
More info
GUI Creator
A tool to draw a Graphical User Interface (GUI) for your AHK scripts.
More info
Macro Creator
An advanced AutoHotkey Script Recorder and Writer.
More info
iWB2 Learner (aka iWebBrowser2)
A tool to retrieve information about Internet Explorer webpages, useful for automating the IE browser using COM.
More info
Documentation & Tutorials
- Documentation (de - 帮助)
- Community tutorials (Forums)
- Community tutorials (Archive forum)
- YouTube AutoHotkey tutorials
- Book (work in progress)
- Rosettacode (code examples)
- 日本語 AutoHotkey Wiki (Japanese, ahkwiki.net)
- Jack Dunning's AHK Page (Scripts, examples)
Communities
- AutoHotkey forum (de, 中文, es, ru) (phpBB)
- Archived forum (de) (IPBoards)
- Stackoverflow
- Superuser
- ZEEF
- Русскоязычный форум (Russian, forum.script-coding.com)
- 한국어 (Korean, autohotkey.co.kr)
Source code (at Github)
- AutoHotkey source code
- AutoHotkey documentation (de)
- ahk2exe source code
- AutoHotkey v2 (alpha stage)
- AHKScript Github organisation
Forks
- AutoHotkey_H + AutoHotkey.dll
- Pocket PCs (WinCE)
- IronAHK, a .NET rewrite (cross-platform, alpha stage)