Expand my Community achievements bar.

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