Re: What's so great about AppleScript, anyway? (was Re: Tell Blocks Considered Harmful…)
Re: What's so great about AppleScript, anyway? (was Re: Tell Blocks Considered Harmful…)
- Subject: Re: What's so great about AppleScript, anyway? (was Re: Tell Blocks Considered Harmful…)
- From: Chris Page <email@hidden>
- Date: Thu, 18 Dec 2008 00:38:00 -0800
On Dec 14, 2008, at 9:40 AM, Philip Aker wrote:
On 2008-12-14, at 06:01:46, Chris Page wrote:
Well, at the low level all languages are identical. ;-) What sort
of things were you expecting me to address?
OSA ...
I was just responding to the questions about AppleScript proper. Other
languages can use Apple Events and the Apple Event Object Model.
I do think OSA is a win, in that it gives you a generic way to run and
manipulate scripts that may have completely different syntaxes and
runtimes. Unfortunately, OSA as it exists today is a bit crufty and
harder to add new languages to than it could be.
... how the Apple Event Object Model can subsume huge portions of
XML without working up a sweat ...
You'll have to tell me more about that. I'm not sure what you mean.
... the benefits of sdefs towards defining a modern AppleScript
while still retaining huge portions of the original design…
1. Everybody should start using sdefs and stop using aete resources
and .scriptSuites.
2. sdefs combined with Cocoa Scripting are the easiest way to
implement scriptable applications and are miles ahead of implementing
scriptability yourself using the C APIs.
But if you don't want to use Objective-C you can just use enough to
handle incoming events, and implement your handler methods by having
them call C functions or C++ or whatever language you wish to use.
--
Chris Page
The other, other AppleScript Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden