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