Skip to main content
Participant
November 28, 2016
Question

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

  • November 28, 2016
  • 2 replies
  • 647 views

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 has been closed for replies.

2 replies

walshwp2Author
Participant
December 1, 2016

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

Legend
December 1, 2016

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

Karl Heinz  Kremer
Community Expert
Community Expert
November 28, 2016

"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