Skip to main content
Participant
November 28, 2016
質問

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

  • November 28, 2016
  • 返信数 2.
  • 647 ビュー

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.

このトピックへの返信は締め切られました。

返信数 2

walshwp2作成者
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