Last active
August 29, 2015 13:57
-
-
Save kowata/9756203 to your computer and use it in GitHub Desktop.
iTunes の曲名にアーティスト名を付記する AppleScript
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
-- ======================================== | |
-- アーティスト名をトラック名に加える | |
-- トラック名を "AC/DC - Back In Black" のようにできる | |
-- 参考:slowly but surely (http://d.hatena.ne.jp/hrc/20080620/1214096524) | |
-- ======================================== | |
tell application "iTunes" | |
set theTracks to selection of front browser window | |
set theTracksRef to a reference to theTracks | |
repeat with i from 1 to count of theTracksRef | |
set theTrack to item i of my theTracksRef | |
set name of theTrack to artist of theTrack & " - " & name of theTrack | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment