cancel
Showing results for 
Search instead for 
Did you mean: 

executeMenuItem

Former Member
0 Kudos

Folks,

I am trying to call Menuitem using this code but it is not working . Can anybody help me

var App;

App.executeMenuItem("SaveAs");

Thanks,

Manish

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Manish,

Please try to use <b>execMenuItem</b> instead...

I just created a simple form that contains a button and then added the script

app.execMenuItem("SaveAs");

to the <b>click</b> event (language = JavaScript). This worked fine, i.e. when clicking on this button the "Save As" dialog appeared.

Regards,

Philipp

(Designer 7.1 / Acrobat 7.0.8)