**Function:** Joins together the selected .mov files with QuickTime Pro 7; it closes any opened QuickTime Movies, asks for the files you want to concatenate (put together), opens them in QuickTime, concatenates them (in alphabetical order) and asks you to save the result movie file.
**Author**: Gábor Balázs Székely
**Notes**: You can try the functionality with the included example files. This script was made for personal use. You can modify it as you wish, it shows just a possible way to automatically put together QuickTime Movie files with QuickTime Pro.
I’m a rookie, how can i put together .mpg with this workflow?
Comment by Megaaldo99 — November 5, 2005 @ 10:48 am
Try tacking on this action at the end of it:
http://www.automatorworld.com/archives/compress-quicktime-to-mpeg-4/
Comment by Steve — November 5, 2005 @ 10:52 am
Hint: Turn off the “Automatically play movies when opened” QuickTime Player preference before running the script. If you don’t, the clips in the resulting movie will probably be in reverse order.
Comment by Michael — January 6, 2006 @ 5:26 am
To concatenate a set of .mpg files, I simply removed the step that filters out all but .mov files.
Comment by Michael — January 6, 2006 @ 5:29 am
Thanks, Michael!
Comment by Gábor — January 28, 2006 @ 2:29 am
NSReceuiverEvaluationScriptError: 4 (1) ?
It was my first time using Automator and I got this error.
What goes?
Comment by Adélard — February 1, 2006 @ 10:32 pm
Ooops! Sorry! I guess I’ll have to try to make a script that converts all my movies to .mov!
Comment by Adélard — February 1, 2006 @ 10:43 pm
This looks great. I continually get this error: Any ideas?
“The variable |movies| is not defined. (-2753)”
Comment by Paul — January 29, 2008 @ 4:08 am
““The variable |movies| is not defined. (-2753)””
This is actually pretty simple to fix, but it took me a bit to track it down — basically, movies looks like it used to be an applescript object (probably an array) that contained currently open movies, so it was basically copying the contents of that into another variable.
There’s now a variable in Leopard Automator Movies which contains the path to the current user’s Movies subdirectory, which may be why it was deprecated.
Anyway, changing the line
set openedMovies to count movies
to
set openedMovies to count documents
seems to have fixed it for me. I also removed the step that filters out all files except .mov, since I figure I’ll generally know not to open word documents with this, and I might need to concatenate non-.mov video files.
Comment by Peter — February 16, 2008 @ 2:22 pm
Thank for this automator script.
I downloaded it, I made the change (movies to documents), and works fine. For beginners to Automator, just click on the “QuickTime Pro Concatenate Movies” file, it opens Automator, click on the PLay button on the top right hand corner.. and go.
Note that the (movies => documents) change must also been done at the step #2 (Quicktime opening), and at the step #7 (5th line).
As for me, the last problem is that : each time you add a new file, the popup finder window BEGINS at Desktop… How can it start in the same folder I just used before ?
Thanks for any clue.
Comment by Frenchie — January 25, 2009 @ 6:04 am
Many thanks for this!
Comment by phase — February 27, 2009 @ 8:44 pm
watching the process is one of those Mac ‘Wow!’ moments. THANKS.
Comment by Michael — August 21, 2009 @ 9:20 am
Updated to Snow Leopard and now this action does not work. What a pity :-(
Comment by Michael — March 1, 2010 @ 10:00 pm