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

Saving a form

kdburley
Registered: Nov 27 2007
Posts: 18

Hello,

Is there some javascript code that can save a pdf document without using the execute a menu item: File save as option. I need to save a form after user enter the data with a specific name and path. I using Adobe 8 acroform.
Thanks for your help.

My Product Information:
Acrobat Pro 8.1.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes, you an use the "doc.saveAs()" function. However, this is a privileged function, meaning that it cannot normally be used from a document script, it has to be done from a folder level automation script.

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