• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iTunes error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iTunes error


  • Subject: iTunes error
  • From: "John C. Welch" <email@hidden>
  • Date: Tue, 23 Jul 2002 14:44:37 -0400

When I try to script iTunes 3 to do a QT audio conversion, I get an instant
'apple event timed out' error at the start of the conversion, not in the
middle or near the end where it would make sense. The script is below, and I
apologize for the HTML email here.

set theDialogRecord to display dialog ,
"If iTunes is set to convert to the conversion settings, click the
\"Okay\" button" buttons {"Cancel", "Okay"} default button "Okay" with icon
caution

set theDialogAnswer to button returned of theDialogRecord

if theDialogAnswer is "Okay" then

set theConversionFile to choose file with prompt "Pick the file to be
converted to MP3"

tell application "iTunes"

set theConversionTrack to add theConversionFile

set theConvertedTrack to convert theConversionTrack

end tell

end if

Also, there really needs to be a way to specify encoder settings for a given
encoder, and to set the encoder to be used in a give conversion.

john

--
"First there...that others may live."
USAF 720th Special Tactics Group
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: iTunes error
      • From: Emmanuel <email@hidden>
References: 
 >Localized AppleScript 1.8.3 (From: Helmut Fuchs <email@hidden>)

  • Prev by Date: Localized AppleScript 1.8.3
  • Next by Date: Re: Need script editor...??
  • Previous by thread: Localized AppleScript 1.8.3
  • Next by thread: Re: iTunes error
  • Index(es):
    • Date
    • Thread