Mik*_*lty 2 macos applescript itunes
我正在尝试返回当前iTunes Track的信息,该信息正在我的计算机上播放.
我可以获得这样的单个信息:
tell application "iTunes"
get name of current track
end tell
Run Code Online (Sandbox Code Playgroud)
这返回Thunderstruck例如.
但是有可能我可以获得有关当前曲目的更多信息,因此返回如下内容:
"AC/DC, Thunderstruck, Iron Man 2"
Run Code Online (Sandbox Code Playgroud)
这可能吗?或者我是否必须创建多个脚本?
谢谢
得到name,artist和album
tell application "iTunes"
get {name, artist, album} of current track
end tell
Run Code Online (Sandbox Code Playgroud)
结果是一个列表
得到一切
tell application "iTunes"
get properties of current track
end tell
Run Code Online (Sandbox Code Playgroud)
结果是一个记录
| 归档时间: |
|
| 查看次数: |
680 次 |
| 最近记录: |