Applescript iTunes 揭晓
iTunes 9 中的 Reveal applescript 命令被破坏,这是否正确?
有效:
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
任何人都可以重现此行为吗?有什么解决方法吗?
Is it correct that the reveal applescript command is broken with iTunes 9?
Works:
tell application "iTunes"
play (track "Los")
end tell
Doesn't work:
tell application "iTunes"
reveal (track "Los")
end tell
But the following does work:
tell application "iTunes"
reveal (playlist "Music Videos")
end tell
Can anyone reproduce this behavior? Any workarounds?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
从Doug's applescripts for itunes 中查看此图
check ou this tut from Doug's applescripts for itunes
正确的代码段应该是 ::
-- 选择特定曲目
即使歌曲位于主库中(即在音乐列表中),
播放列表“音乐”
位也是必需的。如果它在另一个播放列表中,您可以指定它。示例 ::
-- 选择另一个播放列表中的特定曲目
The correct code segment should be ::
-- select a specific track
The
playlist "Music"
bit is necessary even when the song is in your main library (ie in the Music list). If it's in another playlist, you can specify that instead.Example ::
-- select a specific track in another playlist