我正在尝试使用 AppleScript 确定在 iTunes 中选择的曲目的路径。貌似不是该公司的财产track
班级。谁能告诉我如何获取文件路径?
尝试这个:
--gets file path of selected song
tell application "iTunes"
set songLocation to get location of selection
end tell
return songLocation
--gets file path of currently playing song
tell application "iTunes"
set songLocation to get location of current track
end tell
return songLocation
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)