title: Limit ringtone length AppleScript
body: <p>I have the AppleScript code shown below which tells iTunes to convert the track from the selection. I was wondering how I would limit the length of the track that will be converted?</p>
  
  <pre><code>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)
  </code></pre>