tell application "Adobe Acrobat Professional"
tell active doc to set info key "Keywords" value "My keyword"
end tell
Nothing too fancy, right? But when I compile it, it changes to this:
tell application "Adobe Acrobat Professional"
tell active doc to set info key "Keywords" input volume "My keyword"
end tell
The sensical "value" gets changed to the utterly nonsensical "input volume"! Huh?
It gets better. If I edit the script just to add a comment and recompile, I get an error message "Expected end of line, etc., but found property" with the "input volume" highlighted.
I've tried munging the syntax every way I can think of, but it happens every time. Is this a bug in Acrobat (v. 8) or what?
Script Editor 2.1.1 under X Server 10.4.11.