• 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
Re: 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]

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


  • Subject: Re: 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 20:34:48 +0000

has wrote:

Here is the corrected version of your code:

tell application "iTunes"
set new_playlist to (make user playlist with properties {name:"New Playlist"})
add (POSIX file "/Users/has/Music/WoTW/wowa.mp3") to new_playlist
end tell


HTH

has
Thanks very much, one more question the references I have are the AppleScript Language Guide , the iTunes Dictionary accessed via the Script Editor and Doug Scripts website. None of these specify the POSIX file thing so Im wondering is this just basic Applescript knowledge or is there a more detailed iTune reference that I should be looking at.

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>
References: 
 >How do you add a track not currently in iTunes to iTunes playlist using applescript (From: Paul Taylor <email@hidden>)
 >Re: How do you add a track not currently in iTunes to iTunes playlist using applescript (From: has <email@hidden>)

  • Prev by Date: Re: file sorting via applescript?
  • Next by Date: Sort Order
  • Previous by thread: Re: How do you add a track not currently in iTunes to iTunes playlist using applescript
  • Next by thread: Re: How do you add a track not currently in iTunes to iTunes playlist using applescript
  • Index(es):
    • Date
    • Thread