These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

stamp comments javascript

Tim Klahr
Registered: Feb 7 2011
Posts: 12

Is there a way to get access to a stamps comment field? I have a cover page and want any text a user puts in the comment field to show up in the stamp "bubble". I see that when I double click a stamp, click options, and click show comments list, there are a list of fields for each stamp on the document. Do any of you know the names of these fields so I can play around with them?
 
Thanks,
 
Tim

My Product Information:
Acrobat Pro 9.0, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
You should consult the reference files.
To get all of the annotations in a file you can use the getAnnots() method of the Document object.
Each Annotation object has a type property. One of these types is "Stamp".

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com