Having trouble with a QuickTime script
Having trouble with a QuickTime script
- Subject: Having trouble with a QuickTime script
- From: "Argyl L. Dickson, Jr." <email@hidden>
- Date: Tue, 18 Sep 2001 18:34:04 -0700
I have written a script that is moving files and creating a QuickTime movies
from those files. I have run into a problem that I have been unable to
solve. The handler I am using stops when it gets to the part the command to
import movie sequence (See handler below). The error I get says that the
finder got an error and the file that is referenced in the script doesn't
understand the open image sequence message. If anyone has any ideas please
let me know.
Best Regards,
Argyl
to createMovie(referenceName, referenceFolder, targetFolder, movieNumber,
frameRateVar)
set movieNumber to movieNumber + 1
tell application "Finder"
set movieFolder to folder (referenceName & movieNumber as text) of
targetFolder
set firstFile to file 1 of movieFolder
end tell
tell application "QuickTime Player"
open image sequence firstFile frames per second frameRateVar
end tell
end createMovie