Hammerspoon

Powerful automation of Mac OS

Hammerspoon is a desktop automation tool for macOS. It bridges various system level APIs into a Lua scripting engine, allowing you to have powerful effects on your system by writing Lua scripts.
Discussion
Would you recommend this product?
3 Reviews5.0/5
I replaced four different tools with Hammerspoon - it handles my window management (replacing Slate), inserting Snippets (replacing TextExpander), keeping my Mac await when necessary (replacing Caffeine), and handles various app specific scripting (replacing an overgrown AppleScript mayhem). I sync my configuration between Macs, so that when I get a new machine it works exactly like the old one out of the box.
@maebert How does this compare to your previous AppleScripts?
I used to love using autohotkey on Windows before switching to Mac but had never realized there was a Mac equivalent until now. Thanks for hunting this!
Have used it for 2-3 years, LOVE IT! It was when i switch to Mac, looking for an alternative to "AutoHotKey". Btw, you should make a community page where we can share our config/functions :)
This is worth to check. Seems to be interesting
Seems to be AppleScript on steroids. I loved scripting OS9/OSX back in the day, I wrote loads of applescripts/facespan apps, good luck.