Highlighted

Where to store .js files for Adobe Acrobat Pro DC

New Here ,
Dec 26, 2019

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

Adobe Community Professional
Correct answer by Bernd Alheit | Adobe Community Professional

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

Topics

Acrobat SDK and JavaScript, PDF forms

Views

410

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Where to store .js files for Adobe Acrobat Pro DC

New Here ,
Dec 26, 2019

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

Adobe Community Professional
Correct answer by Bernd Alheit | Adobe Community Professional

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

Topics

Acrobat SDK and JavaScript, PDF forms

Views

411

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Most Valuable Participant ,
Dec 26, 2019

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");

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Dec 26, 2019

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Most Valuable Participant ,
Dec 26, 2019

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Dec 26, 2019

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
Dec 26, 2019

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Dec 26, 2019

Copy link to clipboard

Copied

Thank you Bernd. That's solved the issue.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Jul 03, 2020

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?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Most Valuable Participant ,
Jul 03, 2020

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
Jul 03, 2020

Copy link to clipboard

Copied

Read the Article linked below. It explains all.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
Dec 26, 2019

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Resources
One Stop Solution for Acrobat
Edit a PDF