iTunesLibrary.framework経由でiTunesライブラリの曲名をすべて取得するAppleScriptです。
8,500曲の曲名を取得するのにおおよそ1.2秒程度です。
AppleScript名:iTunesライブラリの曲名をすべて取得 |
— Created 2016-11-02 by Takaaki Naganoya — 2016 Piyomaru Software use AppleScript version "2.4" use scripting additions use framework "Foundation" use framework "iTunesLibrary" set library to current application’s ITLibrary’s libraryWithAPIVersion:"1.0" |error|:(missing value) if library is equal to missing value then return set playLists to library’s allPlaylists() set gArray to (library’s allMediaItems()’s title) as list |
More from my site
(Visited 84 times, 1 visits today)