On Jan 26, 2010, at 9:41 AM, Paul Sanders wrote:

I use Cocoa's NSAppleScript class. This seems to work fine on Tiger, Leopard and Snow Leopard.

Yup, it just has the limitation that you have to run the script synchronously, which sucks since many iTunes commands can take a long time. There's no workaround to this that I've been able to find, since NSAppleScript is not thread-safe.

an efficient way to find a track by artist and title would be nice - scanning large libraries in AppleScript is very slow.

Not to veer off-topic into AppleScript, but iTunes' "search" command is a fast way to find tracks, though awkward to use.

—Jens_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to