I can vouch for Hammerspoon, it is an excellent scriptable Lua environment with built-in hooks for probably every native OS X feature you&#x27;ve ever wanted to script. Great project, I highly recommend it.