Script Quicktime Pro to rotate movie and "save as"?

Hello,
I’m wondering if anyone could help me with a script?
I’m trying to do the following (which will be a script attached to a folder which will run when I drop a file in the folder):

  • open the file (an .avi file from a digital camera) in Quicktime Pro
  • roate the movie (via the Video Track → Visual Settings via Window → Show Movie Properties…) 90 degrees clockwise
  • “save as” a .mov file with the same filename (just new extension)

Can anyone help?
Thanks,
Kristin.

thanks!!