• 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
How to manipulate MP3 file in QuickTime Player
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to manipulate MP3 file in QuickTime Player


  • Subject: How to manipulate MP3 file in QuickTime Player
  • From: Neil Faiman <email@hidden>
  • Date: Mon, 20 Jun 2005 07:26:46 -0400

I have QuickTime Pro. I want to open a .mp3 file in QuickTime Player so that I can export it as an AAC file. I'm sure that this code used to work (in QT6? Panther? I don't know exactly when):

    set theMp3File to theFile as Unicode text
    set theAACFile to (text 1 through -4 of theMp3File) & "m4a"
    tell application "QuickTime Player"
        set theTrackDocument to open file theMp3File
        export theTrackDocument to file theAACFile as MPEG4 using default settings

Now, when I run it, QuickTime Player opens the file as expected, but then I get an error message that  "The variable theTrackDocument is not defined."

Any suggestions?

Thanks,

    Neil Faiman
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Renaming recursively
  • Next by Date: Change color of pad in Image Events
  • Previous by thread: Re: Renaming recursively
  • Next by thread: Re: How to manipulate MP3 file in QuickTime Player
  • Index(es):
    • Date
    • Thread