2 ms·
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/
by madeofpalk 12y 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/InterapplicationCommunication/RN-JavaScriptForAutomation/index.html https://developer.apple.com/library/mac/releasenotes/Interap...
- quarterto 12y agoTotally 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.
- madeofpalk 12y agoYeah, 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.