Skip to main content
May 7, 2017
Question

I cannot run the JavaScript debugger by pressing "ctrl+J" combination of keys.

  • May 7, 2017
  • 4 replies
  • 4899 views

My primary aim is to automatically restore the last openned tabs from the previsous session.

I have 17.009.20044 version of AR. However thre are only first four lines as given in

https://forums.adobe.com/thread/2255448

and NO section "JavaScript Editor" section.

It just ends with "Show console on errors and messages", and there is no way to search for the .js files folder from JS debugger

app.getPath(<folder type>,"javascript");

as given in

Instructions for Installing Folder Level Scripts (Automation Tools) and Plug-ins

to include a .js file from the help

javascript - Adobe Acrobat Reader Tabs Saving And Autoloading - Stack Overflow

into the correct directory.

The "ctrl+J" key combination does not work as well.

What's wrong with my instalation of AR?

Why I cannot run JS debugger from AR?

This topic has been closed for replies.

4 replies

May 9, 2017

WHat is "recent files list"? Is it button "Home" or something else? WHere do I find it?

Joel Geraci
Community Expert
May 9, 2017
May 9, 2017

Ohh, but THIS has the same disadvantage as the List itself: you need to click one by one to open the files :-(

Brainiac
May 8, 2017

The key thing is that you need to know the difference between Acrobat (paid for) and Reader (free). Also the difference between Acrobat Pro and Acrobat Standard. Trying to follow instructions written for the wrong one will generally cause pain. Also disappointment; most things have to be paid for.

Inspiring
May 7, 2017

For some older versions of Acrobat Reader one needed to edit Window's Registry to enable it.

If you want to add a menu option to the "View" menu item one can use the following code:

app.addMenuItem({cName:"Console Window", cParent:"View", cExec:"console.show()"});

If you want more see PDFScripting.com Free Acrobat Automation Tools

May 8, 2017

WHERE/HOW EXACTLY SHOULD I ADD THIS CODE INTO?

May 8, 2017

For that question, you'll need to ask the author of the code.


The question is CLOSED. WHere do I contact him?

Inspiring
May 7, 2017

If you are using any version of Adobe Reader or Acrobat Reader, the JavaScript console is not readily available to you. Not even to show an error.

With Reader one can set JavaScript errors to open the console by editing the programs " Edit =>Preference => JavaScript", selecting "JavaScript, and then enabling the appropriate options.

If you want to add a tool or menu option then you need to add a folder level JavaScript file with the appropriate code.

try67
Community Expert
May 7, 2017

Such a script can also be used to display the JS Console, which can then be used normally, just like in Acrobat.