Copy link to clipboard
Copied
I noticed that if I add a menu item (with a .js in the user folder) in the main Help menu, the first app.response will not let me enter any text. If I place that script in any other main Acrobat menu, it works. My guess it's because the Help menu already contain a search entry. That the only difference between this menu and the others. Am I riht with that finding?
Try with this sample code:
function alertMe(){
var cMsg = app.response("Enter the message:");
var cMsg2 = app.response("Enter the message2:");
app.alert (cMsg+cMsg2);
}
//
app.addMenuItem({cName:"Alerte Me!", cParent:"Help", cExec:"alertMe();" });
Is their a workaround this?
Copy link to clipboard
Copied
What version of Adobe Acrobat does you use? The script is working in Adobe Acrobat DC.
Copy link to clipboard
Copied
Copy link to clipboard
Copied