on 03-19-2010 5:02 PM
Hello,
I would like the adobe form to close after the user clicked on "send by email" button.
I found this code to do it automatically :
app.execMenuItem("Save");
app.execMenuItem("Close");
But I don't see where I can write it as I can't modify the click event.
Any idea ?
Thanks in advance
Hello,
as far as I know this is called a "silent save" and these "silent" operations are not allowed because it is a security risk. I am afraid this is not possible. But we can wait for somebody to give a solution. But these questions will be probably more precisely and quickly answered directly in the Adobe forums on Adobe.com.
Regards Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know if this will work, but what if you have another button that triggers the submit event and the code to close the form later on? Hide the actual submit button from your layout.
"Normal Button" code:
SubmitButton.execEvent("click");
app.execMenuItem("Save");
app.execMenuItem("Close");
Cheers,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.