I had success using the following Automator workflow on video files saved in the .mov format, for playback in QuickTime Pro v. 7.5.5.
The workflow was saved as a Plug-in for Folder Actions, and the AppleScript used in the workflow requires GUI scripting to be turned on. Under System Preferences > Universal Access, check "Enable access for assistive devices."
The workflow:
*1) Open Finder Items* (from the Finder library) -- choose "Open With: QuickTime Player"
*2) Run AppleScript* (from the Automator library)
Replace the pre-populated text in Automator's Run AppleScript text area with the block of code below, and make sure it compiles (press the hammer icon):
*on run {input, parameters}*
*tell application "QuickTime Player" to activate*
*tell application "System Events"*
*tell process "QuickTime Player"*
*keystroke "j" using command down*
*keystroke (ASCII character 31)*
*delay 0.2*
try
*if exists radio button "Visual Settings" of tab group 1 of window 1 then*
*click radio button "Visual Settings" of tab group 1 of window 1*
*delay 0.2*
*click button "Flip Y" of group 1 of tab group 1 of window 1*
else
*keystroke (ASCII character 30)*
*delay 0.2*
*click radio button "Visual Settings" of tab group 1 of window 1*
*delay 0.2*
*click button "Flip Y" of group 1 of tab group 1 of window 1*
*end if*
*on error*
*keystroke (ASCII character 30)*
*delay 0.2*
*if exists radio button "Visual Settings" of tab group 1 of window 1 then*
*click radio button "Visual Settings" of tab group 1 of window 1*
*delay 0.2*
*click button "Flip Y" of group 1 of tab group 1 of window 1*
else
*keystroke (ASCII character 31)*
*delay 0.2*
*keystroke (ASCII character 31)*
*click radio button "Visual Settings" of tab group 1 of window 1*
*delay 0.2*
*click button "Flip Y" of group 1 of tab group 1 of window 1*
*end if*
*end try*
*keystroke "s" using command down*
*delay 0.5*
*keystroke "q" using command down*
*end tell*
*end tell*
*return input*
*end run*
Create a destination folder and name it "QT Flip Destination," for example. Save the Automator workflow as a Plug-in for Folder Actions and attach it to this new folder.
Thereafter, dragging an individual .mov file from your source folder into the destination folder should trigger the AppleScript, open the movie, make changes, and save the results there.
Caveat:
Since GUI AppleScripts are prone to occasional failure, you should work on copies of the mov. files until you're comfortable that the workflow is working properly. Do this by holding down your Option key while dragging the individual .mov file into the destination folder. Good luck.