Re:How Apple Programmer Sal Soghoian Got Apps Talking to Eac...
by j-pb on Sunday June 03, 2018 @09:57AM
(#17219534)
I would love easy app automation, but applescript was and is the worst coding experience I've ever encountered. It basically boils down to dictionary and syntax guessing with no clear semantic.
[ Parent
| on HN ]
Re:How Apple Programmer Sal Soghoian Got Apps Talking to Eac...
by ryanianian on Sunday June 03, 2018 @11:26AM
(#17219978)
Both the syntax and the built-in Script Editor application are unhelpful and confusing. I find even C++ more approachable.
In recent years they've added JavaScript bindings which solves the syntax and editor problem. But most documentation is still presented for AppleScript coders so you have to mentally translate what you want to the AS first and then to JS, so it's still basically useless without extreme mental energy. And good luck debugging.
Re:How Apple Programmer Sal Soghoian Got Apps Talking to Eac...
by scarface74 on Sunday June 03, 2018 @11:17AM
(#17219934)
Exactly. It was like the uncanny valley of programming. It was so close to English that you would think should work didn't. I never had that issue with HyperTalk back in the day.
But, Applescript was always just an implementation detail. The underlying Open Scripting Architecture has always worked with multiple languages.