AppleScript for exporting Quicktime movie to mp3 or .AAC sound file in QT 7.5
AppleScript for exporting Quicktime movie to mp3 or .AAC sound file in QT 7.5
- Subject: AppleScript for exporting Quicktime movie to mp3 or .AAC sound file in QT 7.5
- From: Haiyan He <email@hidden>
- Date: Tue, 22 Jul 2008 10:34:36 -0400
- Thread-topic: AppleScript for exporting Quicktime movie to mp3 or .AAC sound file in QT 7.5
Hi everyone,
We want to export Quicktime movie files (mp4) to mp3 or .AAC files through
AppleScript, and set it up as a daily cron job. We have installed LAME MP3
Encoder and "Sound to LAME MP3" is listed as an option for export in
Quicktime Pro. We could get the export done through Quicktime Pro GUI, but
could not get it work through AppleScript.
Run the code below, received an error "Variable MP3 is not defined".
.......
tell application "QuickTime Player"
open theFile
export document 1 to exportFile as MP3
end tell
.......
What is the correct syntax? Any other way to convert mp4 movie to mp3 or
.AAC files through scripts?
Any help would be appreciated.
Thank you.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden