Skip to main content
Inspiring
July 2, 2023
Answered

No Acrobat JavaScripts Config.js file in Windows 11 ??

  • July 2, 2023
  • 1 reply
  • 1976 views

I run Acrobat DC on three different platforms: (1) a Mac, (2) under Windows 10 running through Parallels on a Mac, and (3) a PC with Windows 11. In the Javascripts folder on the Windows 11 PC there is no Config.js file, but there is a Config.js file in the Javascripts folder on both the Mac and Windows 10 / Parallels systems. Is Config.js needed with Acrobat on Windows 11 system? I ran "Repair installation" but it did not provide a Config.js file.

This topic has been closed for replies.
Correct answer ls_rbls

Hi @ODuinn ,

 

I've been active in these support forums since 2019, and I can never get enough of Acrobat JavaScript.

 

That is a great question.

 

I still consider myself very new to Acrobat JavaScript. However, if I am not mistaken (and in reference to what I've read about the "Config.js" file), Acrobat users have had to manually create the Config.js file to extend the capabilities of Adobe Acrobat with folder-level scripting workflows.

 

For instance, see this old article from ACP @Thom Parker  that dates back to year 2006:

 

 

 

See this additional discussion:

 

 

As opposed to older versions of Microsoft Windows (and most recently with Windows 11),  I am not sure why is it that on Microsoft Windows 10 and Apple's macOS this file is created automatically.

 

But it is worth noting that on Windows 11 you may manually create a blank file of Config.js using Microsoft's Notepad and place it in the existing global variable folder:

 

  • C:\Program Files\Adobe\Acrobat DC\Acrobat\Javscript

 

In addition, it does looks like the User variable folder is non existent on Windows 11.

 

It may be possible that it is not needed (as you've observed).

 

But for testing purposes you may manually add the "Javascripts" folder to the directory path listed below (for Windows 11) and place the Config.js file in there:

 

  • C:\Users\"your current UserAccount"\AppData\Local\Adobe\Acrobat\DC\Javascript

 

You may test if this works using the examples of Thom Parker's article.

 

1 reply

ls_rbls
ls_rblsCorrect answer
Braniac
July 3, 2023

Hi @ODuinn ,

 

I've been active in these support forums since 2019, and I can never get enough of Acrobat JavaScript.

 

That is a great question.

 

I still consider myself very new to Acrobat JavaScript. However, if I am not mistaken (and in reference to what I've read about the "Config.js" file), Acrobat users have had to manually create the Config.js file to extend the capabilities of Adobe Acrobat with folder-level scripting workflows.

 

For instance, see this old article from ACP @Thom Parker  that dates back to year 2006:

 

 

 

See this additional discussion:

 

 

As opposed to older versions of Microsoft Windows (and most recently with Windows 11),  I am not sure why is it that on Microsoft Windows 10 and Apple's macOS this file is created automatically.

 

But it is worth noting that on Windows 11 you may manually create a blank file of Config.js using Microsoft's Notepad and place it in the existing global variable folder:

 

  • C:\Program Files\Adobe\Acrobat DC\Acrobat\Javscript

 

In addition, it does looks like the User variable folder is non existent on Windows 11.

 

It may be possible that it is not needed (as you've observed).

 

But for testing purposes you may manually add the "Javascripts" folder to the directory path listed below (for Windows 11) and place the Config.js file in there:

 

  • C:\Users\"your current UserAccount"\AppData\Local\Adobe\Acrobat\DC\Javascript

 

You may test if this works using the examples of Thom Parker's article.

 

ODuinnAuthor
Inspiring
July 3, 2023

After reviewing your linked articles, clearly a config.js file is in the program's Javascripts folder is optional.

Thom Parker
Inspiring
July 3, 2023

What are the contents of these "Config.js" files on both the Mac and Win10?  I'm pretty sure that those files must have been placed there manually after Acrobat was installed. 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often