These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

app.execMenuItem("Close") question

Tim Klahr
Registered: Feb 7 2011
Posts: 12
Answered

Can I run app.execMenuItem("Close") with a parameter to always select NO when it asks if I want to save changes?
 
Thanks,
 
Tim

My Product Information:
Acrobat Pro 9.0, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Accepted Answer
No.
But you can use this.closeDoc(true) to close the current document without saving it.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

Tim Klahr
Registered: Feb 7 2011
Posts: 12
That works good enough for my purposes. Thanks for the tip!