时它正确的,因为揭示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

任何人都可以重现此问题?任何变通办法?

有帮助吗?

解决方案

其他提示

正确的代码段应该是:

- 选择特定轨道

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 
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top