3 ms·
It’s important to distinguish Apple script the language from the dictionaries of events that apps support. The language is fine. It’s a little different, and th
by gcanyon 5y ago
It’s important to distinguish Apple script the language from the dictionaries of events that apps support. The language is fine. It’s a little different, and there are many features from modern languages like Python that it could use.
But the main issue is not the language, but the event dictionaries exposed by applications. I once spent most of a day finding out that a “page” was not an element of a “document”, but a “spread” was, and a “page” was an element of a “spread”. That might have been in adobe pagemaker.
When the dictionary is clear, everything is fine. When it’s opaque, that’s when things get sticky. To be clear, AppleScript and app dictionaries are awesome — just someone’s also painful.