Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Helping on save as button and send to button (rename file)

Not applicable
Hello,

I made a form comprising a button `send by mail. I will like by clicking on this button to rename my form by xxxxxx.pdf and I will like that this form is not modifiable any more by the person who will receive it. Somebody could help me on the syntax of the codes to be used.

I will also like to create another button which will enable me to open the dialog box save as .

Thank you for your assistance.
1 Reply
pguerett
Level 10
Level 10
1. Changing the filename - this is not possible - the filename that is used will be the same as the filename of the PDF that is opened.



2. To lock all of the fields down I have a script that does that. If you post your email address I will send you the sample.



3. The saveAs dialog can be invoked by using this command:



app.execMenuItem("SaveAs");