QuickTime export
QuickTime export
- Subject: QuickTime export
- From: Christopher Thorpe <email@hidden>
- Date: Wed, 09 Jul 2003 13:42:00 +0100
Hi
I'm a total newbie here and I'm having a problem with a script that hunting
high and low doesn't seem to fix.
I'm trying to export a whole series of QuickTime movies, breaking up a movie
by chapter markers and exporting each segment. The breaking up by chapter
markers works fine and I can save the movies, but can't export them.
set this_file to "Archive Master:" & this_person & ":" & this_movie
if (can export movie 1 as QuickTime movie) is true then
-- export the movie as DV stream movie
export movie 1 to this_file as QuickTime movie using most recent
settings
else
error "This movie cannot be exported as a QuickTime movie."
end if
For instance fails with an error "QuickTime Player got an error:Can't make
some data into the expected type.
But when I simply ammend the code as follows and just hit the save button
(not too good for automation!) it works perfectly.
set this_file to "Archive Master:" & this_person & ":" & this_movie
if (can export movie 1 as QuickTime movie) is true then
-- prompt the user for a name and location
set the new_file to ,
choose file name with prompt "Enter a name and choose a
location for the new file:" default name this_file
export movie 1 to new_file as QuickTime movie using most recent
settings
else
error "This movie cannot be exported as a QuickTime movie."
end if
Is there some way to alter a string into the sort of file reference that the
export function likes?
Thanks for any help which can solve this
Best wishes
Chris
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.