Re: Movie Snapshot Script
Re: Movie Snapshot Script
- Subject: Re: Movie Snapshot Script
- From: Walter Ian Kaye <email@hidden>
- Date: Sat, 20 Sep 2003 16:54:01 -0700
At 04:35p -0700 09/20/2003, alex black didst inscribe upon an
electronic papyrus:
Hi all
I'm having trouble with a movie snapshot script I'm doing - the idea is to
take 5 jpegs from the current open movie in quicktime and save them to a
directory.
I can get GraphicConverter to save if I type out a full path, but a variable
with the exact same value doesn't work, I get a -1 error.
Not sure about the -1 error number, but you may be running into a
data type mismatch. I discovered that GC does not like styled text,
so you have to unstyle it. Try this routine:
on RemoveStyles(t)
local t, rec
try
set rec to t as record
set t to <<class ktxt>> of rec
end try
t
end RemoveStyles
NOTE! Replace << and >> with Option-\ and Option-Shift-\ respectively.
So instead of sending 'myvar' to GC, send 'my RemoveStyles(myvar)'.
HTH,
-Walter
_______________________________________________
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.