Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Timing issues with Java executing AppleScript calling iTunes




On 28 Feb 2008, at 20:05, email@hidden wrote:

Greg Guerin wrote:

Did you try this?
 tell application "iTunes"
   add "Macintosh HD:Users:zuhayrkhan:Music:Test.mp3"
 end tell

It seems to do exactly what you want: add the referenced file to the iTunes
library without playing it.



Hi Greg,

I'd seen add - but took the "add one or more files to a playlist" to mean that it was only for working with playlists!

Anyway, thanks for the solution - all works fine now.

Best,

Zuhayr

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.