I'm trying to get QuickTime Player 7 on Mac OS X 10.6.4 to save its export settings so I can batch convert some MKV movies to M4V (MPEG-4).
I've already exported a movie using the settings I want. The settings I want to save are for an export of a "Movie to MPEG-4".
When I run this AppleScript to save the settings:
tell application "QuickTime Player 7" activate tell document 1 save export settings for QuickTime movie to file "Macintosh HD:Test.set" end tell end tell
I get this error: "QuickTime Player 7 got an error: An error of type -2107 has occurred."
I can not find any reference to this error type on the net.
From what I can tell, using AppleScript is the only way to instruct QuickTime 7 to save its export settings.
Is there an easier way of doing this? Is there something wrong with my AppleScript?