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.
““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 moviesto
set openedMovies to count documentsseems 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
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
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
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
Thanks, Michael!
Comment by Gábor — January 28, 2006 @ 2:29 am