Copy link to clipboard
Copied
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
The path is:
/C/Users/<user>/AppData/Roaming/Adobe/Acrobat/Privileged/DC/JavaScripts
Copy link to clipboard
Copied
Open Acrobat, open the Console window (Ctrl+J), enter the following code and press Ctrl+Enter:
app.getPath("user", "javascript");
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
That's true but I have no privillage to copy to the app folder and I have to make it to many user in the company. So, I must use the user folder but I'm facing the above issue. How can I please solve this?
Best regards
Copy link to clipboard
Copied
The path is:
/C/Users/<user>/AppData/Roaming/Adobe/Acrobat/Privileged/DC/JavaScripts
Copy link to clipboard
Copied
Thank you Bernd. That's solved the issue.
Copy link to clipboard
Copied
Unfortunately, I cannot find this file location for adobe acrobat pro in windows 10.
the "Privileged" folder does not exist for me. Can you please help me on this?
Copy link to clipboard
Copied
Then you should create it manaully. Or you could use this path, which should exist:
C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\Javascripts
Copy link to clipboard
Copied
Read the Article linked below. It explains all.
Copy link to clipboard
Copied
Read this article:
https://www.pdfscripting.com/public/Installing_Automation_Tools.cfm