• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
QuickTime 7 - Make New annotation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: QuickTime 7 - Make New annotation
      • From: Brennan <email@hidden>
  • Prev by Date: Re: Close a Window in TextEdit without saving the changes
  • Next by Date: RE: Server change from PC to Mac.
  • Previous by thread: Re: General question about what is possible re: AS driving JavaScript
  • Next by thread: Re: QuickTime 7 - Make New annotation
  • Index(es):
    • Date
    • Thread