Re: Adding files to iTune library in Cocoa app
Re: Adding files to iTune library in Cocoa app
- Subject: Re: Adding files to iTune library in Cocoa app
- From: Gregory Weston <email@hidden>
- Date: Mon, 25 Jun 2007 15:26:04 -0400
Angelo Chen wrote:
Is there a way to add files into iTune library in a
Cocoa app? Thanks
tell application "iTunes" to add (POSIX file "thePath") to (first
library playlist)
Wrap that in an NSAppleScript, with thePath replaced by the full path
of the track you want to add.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden