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

Unique ID field for batch of PDFs

synergy
Registered: Feb 23 2007
Posts: 33

Hi all,
 
I need to insert a unique ID field in each of a batch of PDFs - there will be too many to do it manually.
 
Has any one any suggestions as to how to accomplish this?
  
Thanks in advance.

My Product Information:
Acrobat Pro Extended 9.0, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Use the addField method to insert the field. See my first reply here on how to do it:
http://acrobatusers.com/forum/forms-acrobat/batch-process-form-field#comment-75148

You can use the Date object to create a unique identifier, by setting the field's value like so:
f.value = new Date().getTime();

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