Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Close PDF Form on button click

Avatar

Former Community Member

Hi All,

Is there any command/code to close the PDF form on button click event.

Thanks and Regards--

Chalukya.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Chalukya,

This will close the PDF form, but not the application (Acrobat/Reader):

app.execMenuItem("Close");

Good luck,

Niall

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Hi Chalukya,

This will close the PDF form, but not the application (Acrobat/Reader):

app.execMenuItem("Close");

Good luck,

Niall