QuickTime 7 - Make New annotation
QuickTime 7 - Make New annotation
- Subject: QuickTime 7 - Make New annotation
- From: Guillaume Iacino <email@hidden>
- Date: Mon, 11 Jul 2005 14:52:07 -0400
Hi,
I am having problems creating new annotations using QuickTime 7.
Open a QT movie with no annotations set:
The script looks like:
--------------------------------------
set newAnnotations to {¬
{"Producer", "Cornell University"}, ¬
{"Copyright", "2005, Cornell University"}, ¬
{"Comment", "whatever"} ¬
}
tell application "QuickTime Player"
activate
tell movie 1
repeat with thisAnnotation in newAnnotations
set annotationName to (item 1 of thisAnnotation) as string
set annotationValue to (item 2 of thisAnnotation) as string
if annotation annotationName exists then
set full text of annotation annotationName to
annotationValue
else
make new annotation {name:annotationName, full
text:annotationValue}
end if
end repeat
end tell
end tell
--------------------------------------
When I try to run the script it, I get:
"QuickTime Player got an error: Can't get annotation
{name:Producer, full text:"Cornell University"} of movie 1"
Any insights on how to create and set annotations using QuickTime 7.0.1?
Thank you in advance for your insights,
Guillaume
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden