Created
September 13, 2009 18:15
-
-
Save Govan/186265 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set target_folder to POSIX file "/Users/gavin/Desktop/iTunesOut/" | |
set the_playlist_name to "Music Only" | |
tell application "iTunes" | |
set the_playlist to playlist the_playlist_name | |
repeat with i from 1 to (number of file tracks in the_playlist) | |
set the_track to file track i of the_playlist | |
set the_location to (location of the_track) | |
tell application "Finder" | |
copy file the_location to folder (target_folder) | |
end tell | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment