Hammerspoon Is a Powerful Free Automation Tool for OS X
Mac: OS X has all sorts of automation tools, from the built-in Automator to commercial options like Keyboard Maestro . Hammerspoon is another tool that sits in the same location, but works a little more than AutoHotKey .
Hammerspoon is built on the Lua scripting engine, and with it you can create small applications based on keyboard shortcuts to interact with the clipboard, location information, windows, etc. For example, you can create your own small menu items or automate various actions in depending on your Wi-Fi network . As you would expect from this type of tool, it is quite complex and requires some effort to master, but the beginner’s guide provides a good foundation for finding a good starting point.
Hammerspoon (free)