Copy link to clipboard
Copied
I need to tell the users where to put a folder level JavaScript file. For Windows I know the answer. I am working on a Windows 10 x64 PC and found the location of my Adobe Acrobat "Javascripts" folder to be C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\Javascripts\
However, I would like to know where this folder is located on Mac OS (for Adobe Acrobat Reader DC).
Is there somebody running Acrobat Pro DC and/or Acrobat Reader DC who can tell me the returned path of this JavaScript :
app.getPath("app", "javascript");
Thank you!
Hi.
/iMac/Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Resources/JavaScripts/
Copy link to clipboard
Copied
The answer will vary according to whether you have the subscription or permanent license version, and possibly other factors. You need to run this yourself, not find out what someone else gets.
Copy link to clipboard
Copied
Hi.
/iMac/Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Resources/JavaScripts/
Copy link to clipboard
Copied
@JR_Boulay: Thank you for this! Is this for Acrobat Pro or Acrobat Reader? Ideally I would like to know the path to both, but Reader is the most important. Ninja Edit: I found that this is the path for Acrobat Pro. Thanks again!
@Test Screen Name: I understand that they will be slightly different on different machines running different software, but I want to point clients in the general direction inside a pop-up dialogue inside a PDF. The problem is that a simple Google of this doesn't reveal any good answers so I was hoping to get them here.
I don't have access to any devices running Mac OS, so I can't do this myself (or I would have).
Copy link to clipboard
Copied
Hmm, is that what it says? It would be a terrible place to add them, because updating an executable bundle can invalidate the signature and stop it running.
Copy link to clipboard
Copied
You'll need to know Mac OS to the extent of being able to tell your users how to display and edit a folder that is hidden and may be locked. My experience suggests that Mac users often have never needed to do either.
Copy link to clipboard
Copied
The "User/Library" folder is only hidden from the grandmothers, just hit the ALT key before clicking the "Go to" menu to see it.
The "Applications" folder is not hidden, but it requires an admin account to be modified.
In any case you would enjoy this free utility: http://abracadabrapdf.net/utilities-in-english/pdf-utilities/show_me_the_path-en/
Copy link to clipboard
Copied
but I want to point clients in the general direction inside a pop-up dialogue inside a PDF.
You cannot, for security reasons.
The script that shows these folders paths must ran from the JavaScript folder or from the JavaScript Console, as you will see in my free Show_me_the_path utility.
Copy link to clipboard
Copied
Thank you for all the extra information! With the basic path information you provided, and the information in this article, I know now the default paths for all different type of Adobe Acrobat DC installations.
The reason I am asking this is because I can't have Acrobat just give the answer to the user. If I could have Acrobat simply run 'app.getPath("app", "javascript");' I wouldn't need to know the paths, I would just have Acrobat give it to the users. It is exactly because of the security settings that I am asking this question. Now I can at least give the user a point in the right direction where the folder is located.
I have absolutely no experience with Mac, so how locked folders or admin rights work there is beyond me. I just want a pop-up telling the user where the folder is and that it could be locked/hidden/whatever. I could probably do more to instruct the user on this, but up till now the users have not been ignorant if it comes to these kind of things, so I think it should be fine (until that special snowflake appears, obviously).
Copy link to clipboard
Copied
User's folders (scripts available for this user only):
Acrobat Pro DC:
/MacBookPro/Users/USER-NAME/Library/Application Support/Adobe/Acrobat/DC/JavaScripts/
Acrobat Reader DC:
/MacBookPro/Users/USER-NAME/Library/Application Support/Adobe/Acrobat/DC/JavaScripts/
(yes, it's the same path and it's not a mistake)
App's folders (scripts available for all users):
Acrobat Pro DC:
/MacBookPro/Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Resources/JavaScripts/
Acrobat Reader DC:
/MacBookPro/Applications/Adobe Acrobat Reader DC.app/Contents/Resources/JavaScripts/
Copy link to clipboard
Copied
Admin rights works as same as on Windows.
The User's Library folder is not locked, it's just hidden since Apple believe that grandmas don't have to open it.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now