/*********** belongs to: Page-Actions:Page1:Page Open:Action1 ***********/
var cMsg = "Continuing with the current action will overwrite previous entries";
cMsg += "\n\nDo you want to continue?";
var nRtn = app.alert(cMsg,2,2,"Question Alert Box");
if(nRtn == 2)
{app.execMenuItem("Close")}
For some reason i cannot get this to work. I just want a script that on page open displays a message and if the user selects no it closes the PDF.
This runs everything but the menu item.
Thanks.
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com