News for hackers. Stuff that matters.
Re:Hammerspoon – macOS automation with Lua by aasasd on Monday December 16, 2019 @11:04AM (#21804025)
Hammerspoon is suited for tasks that keep working in the background. Plus it has access to stuff like arbitrary drawing on the screen, which AppleScript doesn't provide. The most used case is custom bindings for (almost) arbitrary hotkeys.

Automator/AppleScript are sufficient when you only need their standard hook points―services and such.

Btw, JXA is a big disappointment: it maps Objective-C/AppleScript's calls and especially structures very awkwardly instead of providing more JS-native experience. And afaik its official documentation is lacking.

There are no comments on this comment yet.