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

Please need help in :creating multiple independant copies from same file.

redcode_8
Registered: Aug 30 2007
Posts: 12

Hello technical team,I am using adobe acrobat 3d but realy I dont know how to solve this problem:I have one file in pdf which contains calculation fields in the form,I want to make one hundred copy of the same file but each one must be independant from others,do I have to copy and paste the same file 100 times and after rename each one differently ? I tried to make a copy of this file but still the copy is not independant from the origin ,is there any way i can make it ,please if you can explain by easy steps and mail it to :naim_gate [at] hotmail [dot] com.
I really appreciate your help,thanks again.

My Product Information:
Acrobat 3D 7.0.7, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You can run a simple script from the JavaScript Console window to automate this.

Here's the Script: I've replaced the actual "less than" symbol with (lt)

var rootName = this.documentFileName.split(".").shift();
for(var i=0; i (lt) numOfCopies;i++)
{
this.saveAs(rootName + i + ".pdf");
}




Read about the console here:
[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/javascript_console/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/javascript_console/[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script