Skip to main content
Participant
Nov 28, 2016 11:19 AM UTC
Question

Trying to locate my "user" folder to place some .js files

Using an iMac OSX 10+ and Acrobat Pro DC... I have run "app.getPath("user","javascript");" in the console but it comes up undefined. The corresponding "app" path request works fine.

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

walshwp2Author
Participant
Dec 1, 2016 5:04 AM UTC

Thanks for this. It turns out that the directory was Adobe/2015/JavaScripts for me. My application says that it is Pro DC but this is where its root directory appeared to be.

All sorted now and thanks

Translate
Legend
Dec 1, 2016 2:00 PM UTC

For anyone reading this: the folder will  be different between the permanent license and subscription versions.

Translate
Karl Heinz  Kremer
Community Expert
Community Expert
Nov 28, 2016 1:02 PM UTC

"Undefined" just means that the command did not return anything. On a Mac, you do not get a path unless that directory exists.

Try creating this folder and then run the command again:

/Users/<user>/Library/Application Support/Adobe/Acrobat DC/JavaScripts

Translate