Skip to main content
Participant
December 26, 2019
Answered

Where to store .js files for Adobe Acrobat Pro DC

  • December 26, 2019
  • 3 replies
  • 7039 views

 

Dear All, 

I bought and installed recently Adobe Acrobat Pro DC version 2019.021.20061 and it's working fine. I still need please to store .js files for my won functions but I could not help finding where to store them? In the Pro version, I used to store the .js files under C:\Users\{your username}\AppData\Roaming\Adobe\Acrobat\10.0\JavaScripts .

 

Best regards

This topic has been closed for replies.
Correct answer Bernd Alheit

The path is:
/C/Users/<user>/AppData/Roaming/Adobe/Acrobat/Privileged/DC/JavaScripts

3 replies

Thom Parker
Community Expert
Community Expert
December 27, 2019
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
December 26, 2019

The path is:
/C/Users/<user>/AppData/Roaming/Adobe/Acrobat/Privileged/DC/JavaScripts

Participant
December 26, 2019

Thank you Bernd. That's solved the issue.

try67
Community Expert
Community Expert
December 26, 2019

Open Acrobat, open the Console window (Ctrl+J), enter the following code and press Ctrl+Enter:

app.getPath("user", "javascript");

Participant
December 26, 2019

 

Thank you for the reply.

 

I tried so and I got :

app.getPath("user", "javascript");
GeneralError: Operation failed.
App.getPath:1:Console undefined:Exec
2

undefined

 

I tested if the issue in getPath function but it was not as I run the following command and it retuned a value:

app.getPath("app", "javascript");

/C/Program Files (x86)/Adobe/Acrobat DC/Acrobat/JavaScripts

 

I think I should create the javascrip folder fisrt but where should I?

 

Best regards

try67
Community Expert
Community Expert
December 26, 2019

Then use the app folder. If it doesn't exist you can create it manually.

That's what I recommend my customers to do, too.