我有下面显示的 AppleScript 代码,它告诉 iTunes 从选择中转换曲目。我想知道如何限制将要转换的曲目的长度?
tell application "iTunes"
set theFiles to the selection
repeat with theTrack in theFiles
with timeout of 120 seconds
set theSecondTrack to first item of (convert theTrack)