Re: iTunes and AppleScript
Re: iTunes and AppleScript
- Subject: Re: iTunes and AppleScript
- From: Daniel Jalkut <email@hidden>
- Date: Fri, 25 Aug 2006 12:39:58 -0400
On Aug 24, 2006, at 9:58 PM, Matt Neuburg wrote:
Really? Since NSAppleScript simply compiles (if necessary) and
executes the
very same AppleScript code you might run in (say) the Script
Editor, and
since AppleScript is a way of constructing and sending Apple
events, I'm
hard pressed to imagine to what you might be referring.
Well, matt, you hit the nail right on the head. Since NSAppleScript
"simply compiles and executes," it leaves out most of the features
that a developer might want to use to fine tune scripting behavior.
These features run the gamut from controlling the AESend mode flags,
installing a send-event replacmement, determining which scripting
component to use, to fine-tuning idle callback behavior.
There's so much that is hidden from the developer in an API like
NSAppleScript that it's really difficult to summarize. Behaving
"just like Script Editor" (and unfortunately, running with
NSAppleScript does not achieve that) isn't the only measure of success.
Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden