Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tell application "iTunes"
- set sel to selection
- if sel is {} then
- display dialog return & "No tracks are selected..." buttons {"Cancel"} default button 1 with icon 0 giving up after 15
- return
- else
- set selR to a reference to sel
- repeat with t from 1 to (length of sel)
- set thisTrack to item t of selR
- set albumName to (get thisTrack's album)
- if albumName starts with "200" then
- set thisTrack's album to (items 6 thru (length of albumName) of albumName as text)
- end if
- end repeat
- end if
- end tell
Add Comment
Please, Sign In to add comment