Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Nov 28, 2016 Nov 28, 2016

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.

TOPICS
Acrobat SDK and JavaScript
600
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 28, 2016 Nov 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 30, 2016 Nov 30, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 01, 2016 Dec 01, 2016
LATEST

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

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