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

Save on opening

udayapadakandla
Registered: Oct 31 2006
Posts: 14

When I open my Acrobat Form (Designer)I would like the program to immediately run a script in this sequence : File->Save AS->and prompt the user to type name of an individual and date (seperated by underscore) and then save the file under that name; not only that it would be nice if the Form would then copy the name and the date to the respective fields in the Form that already exist. Is there a way I can accomplish that? Thanks!

My Product Information:
Acrobat Pro 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes there is. However, saving a form on opening can be problematic because of timing issues, and because saving is a privileged operation. You'll need to come up to speed on Acrobat and XFA (LiveCycle) JavaScript for this task.

Thom Parker
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/[/url]

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