Skip to content

Instantly share code, notes, and snippets.

@azizshamim
Created February 13, 2012 22:17
Show Gist options
  • Save azizshamim/1820941 to your computer and use it in GitHub Desktop.
Save azizshamim/1820941 to your computer and use it in GitHub Desktop.
icloudit
#create a playlist with all the music not found
#select the playlist
tell application "iTunes"
set thePlaylist to current playlist
log (get name of thePlaylist)
repeat with i from 1 to (count tracks of thePlaylist)
set oldfi to fixed indexing
set fixed indexing to true
play track i of thePlaylist
delay 3
delete track i of thePlaylist
set fixed indexing to oldfi
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment