AutoHotkey - Free Macro Recorder and Script Tool

At a Glance

PlatformWindows
PriceFree / Open Source
Downloadautohotkey.com

AutoHotkey (AHK) is a free, open-source scripting language for Windows that automates keyboard input, mouse actions, window management, and more. For users willing to learn basic scripting, it is the most powerful free automation tool available on Windows.

Two Ways to Use AutoHotkey as a Macro Recorder

Option 1: Use Pulover's Macro Creator (No Coding Required)

Pulover's Macro Creator is the easiest way to get AHK macros without writing code. It records your actions visually and exports them as AutoHotkey scripts.

Option 2: Write AHK Scripts Manually

Example script:

^!h::          ; Hotkey: Ctrl+Alt+H
Send, Hello World
return

Installing AutoHotkey

  1. Go to autohotkey.com and download the latest version. AHK v2 is the current release.
  2. Run the installer.
  3. Create a text file with the .ahk extension, write your script, and double-click to run.

Common AutoHotkey Macro Commands

  • Click, X, Y - click at screen coordinates X, Y
  • Send, text - type the specified text
  • Sleep, 500 - wait 500 milliseconds before the next action
  • WinActivate, Window Title - bring a specific window to the front
  • Loop, 10 {...} - repeat the enclosed commands 10 times

AutoHotkey vs TinyTask

TinyTask records and replays with zero setup. AutoHotkey requires more initial effort but supports loops, conditions, window detection, image search, and virtually any automation task.

Frequently Asked Questions

Is AutoHotkey a macro recorder?

AutoHotkey is a scripting environment. You can create macro-like automations by writing scripts or using Pulover's Macro Creator to record and export AHK scripts.

Does AutoHotkey work on Mac?

No. AutoHotkey is Windows-only. For Mac, consider Keyboard Maestro or Automator.

Is AutoHotkey safe?

Yes. It is a long-established open-source project. Download only from autohotkey.com to ensure the official version.

Can AutoHotkey get me banned in games?

Using AutoHotkey in competitive multiplayer games violates most terms of service. Use only in single-player or non-competitive contexts.