Hacker News new | ask | show | jobs
by hhas01 2607 days ago
Spent the last few years developing my own end-user automation language for rendering templated artworks in Adobe Illustrator. Not written in AppleScript, mind (that language is a junker), but driving AI via the same Apple event interface that AppleScript talks to. Insanely powerful stuff.

Currently reimplementing Carbon AEDescs in pure Swift, to see if a modern high-level IPC framework that works across macOS, iOS, and Marzipan apps is feasible. (https://twitter.com/hhas02/status/1124763874413174786)

Developers generally hate AppleScript because it deliberately misleads them into believing Apple event IPC is OOP, then drives them absolutely nuts by acting in all sorts of very un-OO ways. However, once you realize that it’s not OOP at all, but RPC plus simple first-class relational queries… oh the possibilities. Interesting times.