This AppleScript will add the current track you are playing to a play list (currently named street) on your iPhone (or iPod). It will also make a backup of this added track to a playlist on the iTunes local playlists (also named street). The script also checks first if a song exists on the playlist, so as to not duplicate any tracks.
property playlistname : "street" tell application "iTunes" repeat with s in sources if (kind of s is iPod) then set the_ipod to s end repeat set doit to true set idx to (count tracks of playlist playlistname of the_ipod) repeat with i from 1 to idx set n to track i of playlist playlistname of the_ipod set n to (name of n as string) & (artist of n as string) & (album of n as string) set m to (name of current track as string...

Leave a comment

You must be logged in to post a comment.

 

About Author

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum at arcu. Integer et risus. Morbi id tellus. Integer felis. Mauris malesuada, turpis vitae facilisis euismod, dui arcu adipiscing sem, eu vulputate leo ante in lacus. Sed porta accumsan lectus. Aenean ac sem. In consequat tempus velit. Phasellus leo enim, adipiscing a, egestas nec, pretium ut, pede. Mauris sollicitudin diam et mauris. Sed quis enim vel augue egestas lobortis. Etiam tempus ipsum vel neque.