Cannot set annotations in quicktime movie
I am trying to set the title of a movie from applescript.
I can see the title in the annotations in Quicktime 7 Pro (the name/tag of the annotations is "Title"), I can change it fine in Quicktime 7, and save the movie.
However, when I try to do the same from my applescript, nothing happens. No error message. The movie just keeps its old "title" annotation.
Here is my code (snippet):
tell document 1
set annName to "Title"
if exists annotation annName then
set the full text of annotation annName to movieName
else
make new annotation with properties {name:annName, full text:movieName}
end if
end tell
I also tried to set annName to "Full Name" as I have found that a lot on the net, to no avail.
Am I doing something wrong? Is it a bug in QT7?
All insights and suggestions will be highly appreciated.
Gabriel.
Message was edited by: GabrielZ
I can see the title in the annotations in Quicktime 7 Pro (the name/tag of the annotations is "Title"), I can change it fine in Quicktime 7, and save the movie.
However, when I try to do the same from my applescript, nothing happens. No error message. The movie just keeps its old "title" annotation.
Here is my code (snippet):
tell document 1
set annName to "Title"
if exists annotation annName then
set the full text of annotation annName to movieName
else
make new annotation with properties {name:annName, full text:movieName}
end if
end tell
I also tried to set annName to "Full Name" as I have found that a lot on the net, to no avail.
Am I doing something wrong? Is it a bug in QT7?
All insights and suggestions will be highly appreciated.
Gabriel.
Message was edited by: GabrielZ
MacBook Pro, Mac OS X (10.6.2), iPhone 3GS w/ FW 3.1.2, iTunes 9.0.1