Re: get iTunes songs
Re: get iTunes songs
- Subject: Re: get iTunes songs
- From: "John C. Daub" <email@hidden>
- Date: Tue, 17 Oct 2006 14:28:52 -0500
- Thread-topic: get iTunes songs
on 10/17/06 3:17 AM, Mike Abdullah at email@hidden wrote:
> This is true. However, on my PowerBook G4, it does take approx. 30
> seconds with iTunes 7 to run Matt's suggested script. That's 30
> seconds where the app is completely unresponsive. It's not easy to
> do this applescript in a secondary thread.
This is also why I suggest trying different approaches, and you might want
to try hand-writing the actual AppleEvents yourself instead of relying on
however AppleScript does it. You may be able to arrive at a more efficient
solution.
> Reading the dictionary on the other hand is very easy to do.
True.
In the end it really depends what you want. Do you want something that's
fast but risks breakage, constant maintenance and vigilance on your part to
keep your users happy and working without interruption? Or do you want
something that's a bit slower, but is your best chance at working without
interruption to your users? I can't answer that, that's up to the needs of
your users.
If you really want to, provide both mechanisms... thus if the fast-direct
method breaks, users can still have a fallback solution that won't be as
fast, but ought to at least keep them working until you can update.
--
John C. Daub }:-)>=
<mailto:email@hidden> <http://www.hsoi.com/>
"Lemon curry?"
_______________________________________________
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