I’ve been trying to get this to work over the past week but to no luck. Ideally, I am loading a movie and want to extract the audio track and save it into a file.
Assume track 2 is the audio track. All code is done in the tell application “QuickTime Player” block also.
method attempt 1:
export track 2 of movie 1 to file “test.wav” as wave
– note saving it to wave would be nice but saving as a movie file with just an audio track would suffice
method attempt 2:
make new movie with data track 2 of movie 1
– save new movie to a file here
Both seem to run but, I’m not seeing any results.
Also on a side note, does anyone know how to bring an already open quicktime movie from the back to the front?
I’m trying “select window 2” but that gives me an error and sample code from the apple site uses this.