3 ms·
AppleScript gets a bad rap for being obscure, but the language itself isn't to blame (mostly) -- when I was an AppleScript developer, 97% of my headaches came f
by gcanyon 3y ago
AppleScript gets a bad rap for being obscure, but the language itself isn't to blame (mostly) -- when I was an AppleScript developer, 97% of my headaches came from applications with weird dictionaries, not the language itself.
One time I spent half a day trying to figure out how to add a page to Quark XPress, only to eventually find that documents didn't contain pages; they contained spreads, and spreads contained pages.
That was 100% not shown in the standard dictionary display in the Script Editor tool; the UI tool I used for creating interfaces for AppleScript apps had a better dictionary display, and that revealed the answer to me.