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

SOLVED

Creating a Save button

Avatar

Level 1

Hi,

I know this is probably a really straightforward thing to do but how do I create a button within a dynamic form that saves the document?

Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Level 10

You need to use the below syntax to save the file..

app.execMenuItem("Save"); (OR)

app.execMenuItem("SaveAs");

Niall had put together a very nice form for you to understand all the different menu items.

http://forums.adobe.com/message/2386025#2386025

Thanks

Srini

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

You need to use the below syntax to save the file..

app.execMenuItem("Save"); (OR)

app.execMenuItem("SaveAs");

Niall had put together a very nice form for you to understand all the different menu items.

http://forums.adobe.com/message/2386025#2386025

Thanks

Srini