whats a more stable and faster option than hammerspoon + lua? I want something that is…
- User
whats a more stable and faster option than hammerspoon + lua? I want something that is just as good as autohotkey
- Assistant
whats a more stable and faster option than hammerspoon + lua? I want something that is just as good as autohotkey
If you're looking for something more stable and faster than Hammerspoon + Lua on macOS, with capabilities comparable to AutoHotkey (AHK) on Windows, here are some options to consider:
If you want a robust, fast, and stable AutoHotkey-like experience on macOS, the best immediate alternative is Keyboard Maestro—it’s actively maintained, fast, and capable of complex automation tasks. If you want free/open-source and are primarily interested in keyboard remapping with high performance, Karabiner-Elements combined with shell scripting or other tools might be sufficient.
In short:
| Tool | Stability | Speed | Scripting/Complexity | Paid? | Comments |
|---|---|---|---|---|---|
| Keyboard Maestro | Very high | Very fast | Visual + AppleScript/JXA/etc | Paid | Closest to AutoHotkey on macOS |
| Karabiner-Elements | Very high | Very fast | Keyboard remapping config only | Free | Great for keys, less automation |
| BetterTouchTool | High | High | Visual + scripting support | Paid | Great for input device macros |
| Hammerspoon + Lua | Medium | Medium | Full scripting in Lua | Free | Powerful but occasional glitches |
| JXA (JavaScript for Automation) | High | Medium | AppleScript replacement | Free | Native, limited community |
If you want a free alternative closer to AHK, Hammerspoon is the best option despite occasional instability. Otherwise, Keyboard Maestro is the professional-grade choice.
If you want, I can help you set up or port scripts from Hammerspoon/Lua to Keyboard Maestro or give you examples for Karabiner or JXA. Just let me know!
Not yet included in a published release.