【发布时间】:2012-11-30 22:27:03
【问题描述】:
我正在通过 AppleScript 控制 iTunes 并将 URL 添加到主库(通过 open location "http://...")。
有没有办法使用 AppleScript 从库中删除该条目?该 URL 非常独特,因此我不必担心删除用户的其他条目。
【问题讨论】:
标签: streaming applescript itunes
我正在通过 AppleScript 控制 iTunes 并将 URL 添加到主库(通过 open location "http://...")。
有没有办法使用 AppleScript 从库中删除该条目?该 URL 非常独特,因此我不必担心删除用户的其他条目。
【问题讨论】:
标签: streaming applescript itunes
试试:
tell application "iTunes"
set myUrls to get every URL track
repeat with aUrl in myUrls
if (aUrl's address as text) starts with "http://shiva.6o4.net:" then delete aUrl
end repeat
end tell
【讨论】: