3
此代碼將返回所有的播放列表在iTunes:如何使用AppleScript在iTunes中的子文件夾中選擇播放列表?
tell application "iTunes"
get name of playlists
end tell
如何在子文件夾中返回所有播放列表?
預先感謝您。
此代碼將返回所有的播放列表在iTunes:如何使用AppleScript在iTunes中的子文件夾中選擇播放列表?
tell application "iTunes"
get name of playlists
end tell
如何在子文件夾中返回所有播放列表?
預先感謝您。
你可以嘗試這樣的事:上
tell application "iTunes"
set myList to {}
set myFolder to folder playlist "testFolder"
set myPlaylists to playlists
repeat with aPlaylist in myPlaylists
try
if aPlaylist's parent = myFolder then set end of myList to aPlaylist's name
end try
end repeat
return myList
end tell
現貨,謝謝你。 – regnix 2013-03-14 14:20:06