Home > Projects > MacAHK – AutoHotkey for macOS

MacAHK – AutoHotkey for macOS

Jul 2026 · Working app

My take on AutoHotkey for the Mac, written in Swift. It records everything you do (keystrokes, clicks, drags, scrolls with momentum, trackpad gestures) and replays it from a hotkey, plus text expansion, image search, conditions, and an importer for real AutoHotkey scripts.

Tools: Swift · AppKit · CGEvent · Accessibility API

GitHub

More info

Why it replays better than most recorders

Most macro tools interpret your input ("click at 200,300"). MacAHK serializes the raw CGEvent, the actual bytes the window server saw, and replays them verbatim. So:

Features

Minimally invasive

No kernel extensions, no background daemons, no login items. It uses exactly the permissions macOS defines for the job (Input Monitoring to record, Accessibility to replay) and only asks for Screen Recording if you use the screen-reading features. Nothing runs unless the app is open.


« Back to all projects