Skip navigation.
 
mlRe: iTunes and AppleScript
FROM : Daniel Jalkut
DATE : Fri Aug 25 18:39:58 2006

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

Related mailsAuthorDate
mliTunes and AppleScript John Stiles Aug 24, 19:45
mlRe: iTunes and AppleScript Matt Neuburg Aug 25, 03:32
mlRe: iTunes and AppleScript John Stiles Aug 25, 03:42
mlRe: iTunes and AppleScript Matt Neuburg Aug 25, 03:58
mlRe: iTunes and AppleScript John Stiles Aug 25, 04:06
mlRe: iTunes and AppleScript Matt Neuburg Aug 25, 16:00
mlRe: Re: iTunes and AppleScript Michael Ash Aug 25, 17:09
mlRe: iTunes and AppleScript Daniel Jalkut Aug 25, 18:39
mlRe: iTunes and AppleScript Matt Neuburg Aug 25, 19:34
mlRe: iTunes and AppleScript John Stiles Aug 25, 19:36
mlRe: iTunes and AppleScript Matt Neuburg Aug 25, 21:15
mlRe: iTunes and AppleScript ab_lists Aug 25, 23:19
mlRe: iTunes and AppleScript John Stiles Aug 25, 23:41
mlRe: iTunes and AppleScript John Stiles Aug 29, 03:08
mlRe: iTunes and AppleScript John Stiles Aug 29, 04:24