Although the update of QuickTime to version 7 has a bunch of great features, some of the free AppleScripts from Apple don't seem to work any more -- maybe because of some replaced or repositioned functions within the menus. For example, the "Extract All Tracks" seems to stop at a certain point. Automator is nice, but offers just a short list of QuickTime actions, so I decided to go with good old AppleScript.
Basically, I needed an adaptation of this in order to split up the tracks of QuickTime screen videos recorded with Snapz Pro X and name files accordingly. The main good point about this script is its ability to save video, Mac audio, and the microphone track in three tracks of one QuickTime movie. In order to adjust levels and do some audio editing in post-production, it's quite useful to have the tracks separated.
And that's what this script does: you copy one QuickTime movie to a folder, the file is recognized, opened in QuickTime, tracks are extracted and saved into new movies showing a prefix identifier. For getting both video/mic and video/audio/mic movies to work with the script, there had to be some distinction of the "count of tracks." In order to attach the script to a "watched folder" on my desktop, I wrapped around some Folder Action code.
Here's the script -- any suggestions in terms of code improvement are appreciated.
[robg adds: I haven't tested this one yet...]

