Created
April 3, 2012 04:36
-
-
Save fornext1119/2289316 to your computer and use it in GitHub Desktop.
VBScript で iTunes の曲一覧を取得する
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
Set iTunesApp = WScript.CreateObject("iTunes.Application") | |
For Each track In iTunesApp.LibraryPlaylist.Tracks | |
WScript.StdOut.Write track.Artist & "," | |
WScript.StdOut.Write track.Album & "," | |
WScript.StdOut.Write track.TrackNumber & "," | |
WScript.StdOut.Write track.Name & "," | |
WScript.StdOut.Write track.Composer & "," | |
WScript.StdOut.Write track.Duration & "," | |
WScript.StdOut.Write track.BitRate | |
WScript.StdOut.WriteLine | |
Next | |
iTunesApp.Quit | |
Set iTunesApp = Nothing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment