Hammerspoon
MacAutomate macOS with Lua scripting
Overview
Hammerspoon is a robust macOS automation tool enabling users to control system features and app interactions via Lua scripting. It connects OS functionalities—window management, hotkey triggers, menubar customizations, and device integrations—into tailored workflows. Resize windows with a keystroke, sync clipboard across devices, or auto-launch apps when connecting a Bluetooth headset—all via simple scripts. Perfect for power users, it grants deep access to macOS APIs without native development skills, making it flexible for basic tweaks or advanced automation. Its open-source nature fosters a community-driven library of pre-built scripts to jumpstart your workflow.
Key Features
- Lua-based automation scripting
- Window management & hotkey customization
- System API integration (menubar, devices, apps)
Top Alternatives
BetterTouchTool
Search Google
Alfred (with Powerpack)
Search Google
Tool Info
Pros
- ⊕ Open-source and free
- ⊕ Extensive macOS API access
- ⊕ Highly customizable for power users
Cons
- ⊖ Steep learning curve for non-technical users
- ⊖ Requires basic Lua knowledge to leverage fully