Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

invoke the "save"-Function of Reader by a forms script

Avatar

Former Community Member
Is it possible, to provide a button within a form, which invokes the save dialog of Adobe Reader?

It's just for user convenience to allow saving a local copy of a filled in form (providing the form is ARES enabled).



Regards, Martin
7 Replies

Avatar

Former Community Member
You can use this code:



app.execMenuItem("SaveAs");

Avatar

Former Community Member
Greetings!



I tried to use the code in the scripting window but I get an error msg.



Where do I code the "Save As" button on my form?



Regards,



J.-L.

Avatar

Former Community Member
You would put the code on the click event of the button that you want to push when you want to cause the save.

Avatar

Former Community Member
Hi, again!



I have only been working with live cycle designer since this Monday!



I have the object palette up and the scripting window open but I do not know where to find the click event option.



Forgive my ignorance but every expert was once a beginner!



I appreciate all the help.



Thanks bunches.



J.-L.

Avatar

Former Community Member
I finally figured it out and I have gotten it to work!



My Thanks to Paul Guerette for his help!



J.-L.

Avatar

Level 2
Can you step me through this? I'm also a bit new and am not as knowledgeable about scripts as I should be, I guess.

Avatar

Former Community Member
You could use the command:



app.execMenuItem("saveAs");