Hacker News new | ask | show | jobs
by madeofpalk 4237 days ago
There's now also the official Javascript for Automation[1], however I'm not sure how much that ties in with node.

[1]: https://developer.apple.com/library/mac/releasenotes/Interap...

1 comments

Totally different runtime. There's no way (short of IPC) you can interface between node.js and Javascript for Automation. I suppose you could write a CommonJS Modules-compatible shim for Automation, but libraries assuming a node-like environment just wouldn't work.
Yeah, that's what I assumed. I guess it might make 'developing' slightly easier thought, keeping in the same language with Node + Automation, rather than Node + AppleScript.