• 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: Matt Neuburg <email@hidden>
  • Date: Fri, 25 Aug 2006 07:00:24 -0700
  • Thread-topic: iTunes and AppleScript

On or about 8/24/06 7:06 PM, thus spake "John Stiles"
<email@hidden>:

>
> On Aug 24, 2006, at 6:58 PM, Matt Neuburg wrote:
>
>> On or about 8/24/06 6:42 PM, thus spake "John Stiles"
>> <email@hidden>:
>>
>>> there are a host of AppleScript features which you don't have
>>> direct access to
>>> via NSAppleScript
>>
>> 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, I can
>> think of
>> some things you *might* be referring to, but they have nothing to
>> do with
>> the problem you're describing. Still, I'd sure be interested in an
>> example
>> of what you mean. m.
>
> Well, for instance, AESendMessage has an "AESendMode" parameter that
> looks useful on the surface‹from reading the docs, it looks like I
> can ask AppleEvents to queue up any replies instead of blocking until
> the reply comes in. I don't know how one would do this with an
> NSAppleScript.

Well, in this particular case, try putting the "with timeout" call *inside*
the tell block addressing iTunes and see if that helps. m.

--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide - Second Edition!
http://www.amazon.com/gp/product/0596102119
Take Control of Word 2004, Tiger, and more -
http://www.takecontrolbooks.com/tiger-customizing.html
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/



 _______________________________________________
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

References: 
 >Re: iTunes and AppleScript (From: John Stiles <email@hidden>)

  • Prev by Date: import Header??
  • Next by Date: Re: Problem in scrolling a window.
  • Previous by thread: Re: iTunes and AppleScript
  • Next by thread: Re: iTunes and AppleScript
  • Index(es):
    • Date
    • Thread