• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iTunes and AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: iTunes and AppleScript
      • From: Matt Neuburg <email@hidden>
References: 
 >Re: iTunes and AppleScript (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Problem with Cocoa App on FAT32-formatted external drive
  • Next by Date: Re: Problem with Cocoa App on FAT32-formatted external drive
  • Previous by thread: Re: iTunes and AppleScript
  • Next by thread: Re: iTunes and AppleScript
  • Index(es):
    • Date
    • Thread