• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How do you add a track not currently in iTunes to iTunes playlist using applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do you add a track not currently in iTunes to iTunes playlist using applescript


  • Subject: How do you add a track not currently in iTunes to iTunes playlist using applescript
  • From: Paul Taylor <email@hidden>
  • Date: Tue, 08 Jan 2008 17:33:06 +0000

Hi, complete novice trying to add a track not currently in iTunes to iTunes playlist using applescript, I can get it to create a new playlist -but cant see how to add track to playlist, this is what I have so far

tell application "iTunes" to
set new_playlist to (make user playlist with properties {name:"New Playlist"})
add track "/users/paul/Music/test.mp3" to playlist new_playlist



thanks Paul

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: How do you add a track not currently in iTunes to iTunes playlist using applescript
      • From: has <email@hidden>
  • Prev by Date: Re: Apple remote desktop script?
  • Next by Date: Re: Trouble with Lists in Excel
  • Previous by thread: Re: Finder or mounted volume lag in Leopard?
  • Next by thread: Re: How do you add a track not currently in iTunes to iTunes playlist using applescript
  • Index(es):
    • Date
    • Thread