Keyboard Maestro can substitute for Hammerspoon for macOS application and window workflows when visual macro authoring is preferred. Its built-in actions and trigger model differ from Lua modules and event watchers. Hammerspoon scripts are not assumed importable, and required application behavior and permissions must still be evaluated.[1][2][6]
Overview
Keyboard Maestro is a proprietary macOS automation application built around macros containing triggers and ordered actions. It combines a visual editor with built-in operations for applications, text, images, windows and scripts. Macro groups control where a workflow is active, while a separate background engine performs the automation.[1][2][3]
Macro authoring
A macro consists of one or more triggers and a sequence of actions. Groups can restrict availability to particular applications. The editor includes a recorder, but the manual notes that recorded steps often need adjustment to become robust. Recording an interaction is therefore a starting point, not evidence that it will remain reliable in every later application state.[2]
Trigger choices
Hotkeys and typed strings can launch macros, while palettes and the status menu provide visible ways to select them. Multiple triggers may refer to the same macro. This supports both memorized shortcuts and discoverable controls, which is useful when a workflow has more actions than a user wants to remember as key combinations.[4]
Editor and engine
Quitting the editor does not stop the Keyboard Maestro Engine. The engine keeps macros and related facilities available until it is stopped separately. Macros are saved continuously and can become active immediately, subject to group restrictions. Understanding that separation matters when reviewing a newly imported or edited workflow before allowing it to run.[2][3]
macOS permissions
The manual identifies Accessibility, Screen Recording and Secure Input behavior among important automation constraints. A security-status pane helps inspect the relevant state. The required permissions depend on the actions being used, so installing the application alone does not establish that every UI-control or image-based operation is available.[5]
Purchase and availability
Version 11 is sold as a one-time purchase rather than a subscription, with continued use of that version. Major-version upgrades are a separate consideration. The manual says Keyboard Maestro is not distributed through the Mac App Store because its automation capabilities do not fit that store's sandbox model.[1][3]
Capabilities & limitations
Editor closure stops automation
unsupported
The background engine continues operating after the editor quits.[3]
Desktop automation and text expansion · macOS · Operating-system, application and permission requirements apply