Hi.
I have very little apple script knowledge and have just started learning.
I’m trying to get a script for Quicktime that will
open an image sequence and then save a reference QT mov file in the same place where the image came from.
I’ve been searching the forum and I found this script.
tell application "Finder" to set theSequence to (choose file without invisibles)
tell application "QuickTime Player"
activate
open image sequence theSequence
set nameSequence to (theSequence as string) & ".mov"
tell document 1
with timeout of 500 seconds
save self contained in nameSequence
end timeout
close
end tell
end tell
From here http://macscripter.net/viewtopic.php?id=17467
It does what I need with a self contained movie.
I’ve been trying to edit the script so it spits out a reference movie instead but it’s not working for me.
I tried this:
tell application "Finder" to set theSequence to (choose file without invisibles)
tell application "QuickTime Player"
activate
open image sequence theSequence
set nameSequence to (theSequence as string) & ".mov"
tell document 1
with timeout of 500 seconds
save reference movie to nameSequence using descriptors {} without replacing
end timeout
close
end tell
end tell
When I run my edited version it does create a .mov file but it’s only 4kb and does not open. A working reference file for my test should be 22kb.
I then get a QT dialogue box that asks to save changes. (which doesn’t happen with the self contained script) Then I get an Apple script error. “AppleEvent Handler Failed”…
I work at a small VFX house and this script will help me with getting images sequences of from Compositing into Final Cut Pro a bit quicker. The project I’m working on now has 64 different shots (therefore Image sequences)
Each image sequence is in it’s own folder
I would like to end up with this in my right click menu I think and at some point I’d like to be able to just select the container folder of the sequence (So as not to have to go into each shot folder…would save a few clicks.)
Thanks for your time…and hopefully help
Stuart.
AppleScript: 2.01
Browser: Firefox 3.6.6
Operating System: Mac OS X (10.5)