Javascript is Disabled in your browser please enable it
AutoHotkey

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. (de - 帮助)

Why ahkscript.org?

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.

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:

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

Resources

Documentation & Tutorials

Communities

Source code (at Github)

Forks

Archive

Join the AutoHotkey Community

Join the community and contribute to AutoHotkey by developing code, submitting a bug fix, improving the documentation, helping other members, or even just filling a bug report.