This is a strong macOS automation tool. Hammerspoon is really just a connection between the operating system and a Lua scripting engine. A series of extensions that expose specific parts of system functionality to the user is what gives Hammerspoon its power.
What does it have to offer me?
Lua code may interact with macOS APIs for apps, windows, mouse pointers, filesystem objects, audio devices, batteries, displays, low-level keyboard/mouse events, clipboards, location services, wifi, and other things.
Check out the Getting Started Guide and the full API documentation, as well as the already pre-made Spoons, if you want to learn more about the choices Hammerspoon has to offer.
Check out Macro Gamer one of the best tools to automate mouse and keyboard.
What am I supposed to do with it?
Hammerspoon accomplishes nothing right out of the box. You will need to create a Lua script in ~/.hammerspoon/init.lua using our APIs and standard Lua APIs.
If you’re new to Hammerspoon, start with the Getting Started Guide, which includes a link to the whole API documentation.
Lua is a scripting language that may be learned more about at lua.org.
What can I do to help?
Hammerspoon will always benefit from more extensions. You can build Objective-C extensions to expose new areas of system functionality to users, or you can write pure Lua scripts with handy auxiliary functions. See the GitHub contribution guidelines for additional information.
On GitHub, you can report bugs identified at http://www.hammerspoon.org/.
Where can I obtain assistance?
In our Libera IRC channel, #hammerspoon, you can typically obtain a speedy response.
Here’s a link to our Google Group mailing list.
You can also post an issue on the issue tracker if you spot a bug or have a suggestion.
Check out alternatives: