In using Acrobat XI Standard, I want to use the javascript debugger as you state in your article.

I can not get to the JavaScript debugger enable check box to automatically use CTRL + J to upload. Is there another technique/step to use to get this dialog up and running.

Is this only a PRO feature?

Thank you.


Thomas Jacquemin


2 Answers

You can create a button on any PDF document (a blank document, for example) and place the following script as a "Run a JavaScript" Action in its Mouse-Up event. This document can be used even with Adobe Reader.

console.show();

enter image description here

You can also create a tool button using the following script as a folder level JavaScript. The tool button will appear under Add-on Tools:

// add a tool button
app.addToolButton({
    cName: "showConsole",
    cExec: "console.show();",
    cTooltext: "Show JavaScript Debugger",
    cEnable: true,
    nPos: 0,
    cLabel: "JavaScript Debugger"
});

enter image description here


Almir R V Santos   

Hi Thomas,

You can download the "Reader JavaScript Console Window" tool from-

http://www.pdfscripting.com/public/Free_Acrobat_Automation_Tools.cfm

Hope this helps,

WindJack Solutions

www.pdfscripting.com

www.windjack.com


Dimitri Munkirs   


Please specify a reason: