Created
October 15, 2014 00:55
-
-
Save stojg/1e25f0e9afd586be2396 to your computer and use it in GitHub Desktop.
Refresh Tracks.scpt
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
(* | |
Install in /Library/iTunes/Scripts | |
*) | |
tell application "iTunes" | |
if selection is {} then | |
display dialog "No tracks selected. Select some tracks with some stale tags." buttons {"I will!"} ¬ | |
default button 1 with icon 0 | |
else | |
set sel to selection | |
repeat with myTrack in sel | |
if myTrack's class is file track then | |
tell myTrack | |
refresh myTrack | |
end tell | |
end if | |
end repeat | |
display dialog "Selected tags have been freshened up." buttons {"Okay"} ¬ | |
default button 1 | |
end if | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment