【问题标题】:Get the next ten songs in iTunes DJ using AppleScript使用 AppleScript 在 iTunes DJ 中获取接下来的十首歌曲
【发布时间】:2010-04-09 16:21:53
【问题描述】:

我正在使用 AppleScript 创建一个应用程序,我想显示 iTunes 将从 iTunes DJ 播放的接下来十首(包括当前)歌曲的列表。我在互联网上的任何地方都找不到它,谷歌,所以我在这里问了。谁能帮我?谢谢

【问题讨论】:

    标签: applescript itunes


    【解决方案1】:

    以下 AppleScript 将返回 iTunes DJ 播放列表中歌曲的名称:

    tell application "iTunes"
        get name of every track of playlist "iTunes DJ"
    end tell
    

    歌曲名称按播放顺序返回,还将包括最近播放的歌曲(这可以在 iTunes DJ 设置中进行配置)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-04-01
      • 1970-01-01
      相关资源
      最近更新 更多