• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

5. AppleScript for iTunes > 83. Make a New iPod Playlist from Your Selections

Make a New iPod Playlist from Your Selections

Send selected tracks in iTunes straight to your iPod, and optionally create a new playlist to put them in.

iTunes has a convenient New Playlist From Selection command (available from the File menu) to create a new playlist from a bunch of selected tracks. The only drawback is that it creates the playlist in the current source. This AppleScript hack lets you select some tracks in iTunes and send them to your iPod, optionally placing them in a newly created playlist. It even suggests a default name for the new iPod playlist based on the info from the selected tracks.

The Code

This script gets the locationproperty of each selected iTunes track and uses it as the target of a duplicatecommand, copying the file to a mounted iPod. Additionally, a new iPod playlist can be created (named using the artist and album of the first selected iTunes track) to which the newly added iPod tracks can be copied.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint