Yes. I do both. All QT scripts works fine till QT 6.5 include. With QT 7 all scripts make problems to set the annotations. I find out that the error will occur if a new movie have no annotations.
If setting all the annotations in QT 7 with text no error occur executing the script. But the new annotations text will not set in the movie. With script step "get the full text of every annotation" you will get the new annotations text, but in the movie is always the old one, also if movie is saved.
Please try it out and send me your result.
tell movie 1
-- get the name of every annotation -- get the full text of every annotation -- count every annotation
set the full text of annotation "Keywords" to "my new keywords" set the full text of annotation "Producer" to "my new producer" set the full text of annotation "Comment" to "my new comment" set the full text of annotation "Author" to "my new author" set the full text of annotation "Album" to "my new album" set the full text of annotation "Software" to "my new software" set the full text of annotation "Description" to "my new description" set the full text of annotation "Artist" to "my new artist" set the full text of annotation "Copyright" to "my new copyright" set the full text of annotation "Information" to "my new information"
-- close saving yes
end tell
It must be an bug in QT 7 because it is also not possible the set the annotations with the Automator!
|