AppleScript的iTunes中显示
-
18-09-2019 - |
题
时它正确的,因为揭示AppleScript的命令与iTunes 9破?
使用:
tell application "iTunes"
play (track "Los")
end tell
不工作:
tell application "iTunes"
reveal (track "Los")
end tell
但是以下不工作:
tell application "iTunes"
reveal (playlist "Music Videos")
end tell
任何人都可以重现此问题?任何变通办法?
解决方案
从检查OU此啧 Doug的的AppleScripts的iTunes
其他提示
正确的代码段应该是:
- 选择特定轨道
tell application "iTunes"
reveal (track "Woo Hoo" of playlist "Music")
end tell
在playlist "Music"
位是必要的,即使当歌是在主库(即音乐列表)。如果是在其他播放列表,您可以指定代替。
实施例::
- 在另一播放列表选择的特定磁道
tell application "iTunes"
reveal (track "Woo Hoo" of playlist "Sleepy Songs")
end tell
不隶属于 StackOverflow