Dear AUC,
Like several other postings, I want to put a "Save As" button in forms. Users should be able to hit the button and have their completed form saved as a file, with the file name calculated with js using entries in the form.
Can you help? Many thanks.
Phil
My Product Information:
Acrobat Pro 8.1 / Windows
Offline

Add this JS to the mouse up event and name your file as mentioned.
app.execMenuItem("SaveAs");
Make sure you enable Reader extensions before saving the pdf.
Offline
Eugene, thanks for your answer.
Could you help me a bit further?
In your example, is
MenuItem("SaveAs") a command
that saves the file?
Where does the pre-computed
file name get used as an argument?
Could you give a more
extensive example?
Many thanks. Happy New Year!
Phil.
Offline
Yup- this 'saveas' works well - but I too am trying to figure out how you can get the file name to be one of the field values. For example - you have a field whose contents you've input as "PENGUIN1", then with the 'SaveAs' the file is now called: "PENGUIN1.PDF"??
Yours confused,
A
Offline
AcrobatUsers.com >> User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in