Hello,
I have 30 pdf documents that all need a large form field at the bottom of them in the exact same place. Is there a way to make the form field on one of the documents then batch process the form field to all 29 remaining documents? Instead of having to draw the same form field 30 times. This is a job I will be done many times and looking for a time saving method.
Any help is much appreciated
Kimberly
The information you need is the field's name, type, page number and coordinates.
The most tricky one is the coordinates. I prefer to do the following:
- Draw the field you want by hand. Let's say it's called Text1.
- Then you open the JavaScript console (Ctrl+J) and execute this code:
this.getField("Text1").rect
- This will produce a list of 4 numbers. Copy them and then use them to create your batch script, which should look something like this:
this.addField("MyField", "text", 0, [1,2,3,4]);
([1,2,3,4] being the numbers you got from the earlier steps)
For more information about the addField method and its parameters check out the Acroabt JavaScript Reference, under the Document Methods section.
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com