QuickTime Pro 7 Export Settings...

Building myself a little batch audio converter. I see that you should be able to export using an outside file as a settings reference but I can’t seem to make it happen. This is what I have:

 tell app "QuickTime Player"
tell movie 1
export movie 1 as wave to file "sound.wav" using settings "path to/reference.wav"
end tell
end tell

The reference file is a 24bit/48khz Mono WAV file but no matter what I do it exports a 16/44 Stereo WAV. Any ideas?

my guess is you would first have to get the track properties of the movie

audio sample rate
audio sample size

of the file you have chosen and then apply them to the export