Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Tool that lets you build shortcuts and custom functionality for most macOS apps. You write JS snippets like this:

    const app = new App("com.apple.finder")
and then query for elements:

    const window = app.$({role: "window"})
    const someButton = window.$(/* another query */)
and then do stuff with it:

    someButton.press()
and you can bind everything to very specific shortcuts like "press and hold cmd, then scroll mouse wheel up"

Targeted towards music producers and AI (there's one collection of snippets that starts an MCP server and exposes some basic functionality) in the beginning.



Sounds neat - is there a repo?


not sure if i want to open source yet or not, still contemplating

but will gladly let you know if i do. in any case, it would probably be under github.com/merlinaudio/invoke




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: