Find Adobe Acrobat JavaScript Documentation and the User Folder
Question details
Find current Acrobat JavaScript documentation, identify its relationship to ECMAScript and browser JavaScript, and locate the user JavaScript folder.

- Product
- Adobe Acrobat SDK and Acrobat JavaScript
- Device & OS
- not provided
- Scenario
- A web developer wants to develop JavaScript for PDF documents and understand Acrobat-specific APIs and folder locations.
- Observed behavior
- The developer needs authoritative references for PDF scripting, supported APIs, security restrictions, and the user folder.
Check your Acrobat product and version, since JavaScript features, security restrictions, and folder locations can vary. If you plan to use the JavaScript console, check the JavaScript settings in Acrobat Preferences.
Consult the Acrobat SDK JavaScript documentation
Use Adobe’s official SDK references to check Acrobat APIs, security restrictions, and PDF scripting guidance.
Acrobat JavaScript uses ECMAScript concepts and PDF-specific objects, properties, and methods. It is not equivalent to browser JavaScript: browser APIs such as the DOM are not interchangeable with Acrobat’s PDF and application APIs.
Visit https://developer.adobe.com/acrobat-sdk-docs/ and open the JavaScript documentation in the Acrobat SDK library.
Open the JavaScript API Reference at https://developer.adobe.com/acrobat-sdk-docs/library/jsapiref/ and search for the object, property, or method you want to use.
In the API reference, read the availability and security notes for each method. Also consult the SDK’s JavaScript guides for privileged contexts, trusted functions, and version-specific behavior.
Search the ISO website for “ECMAScript for PDF” if you need the PDF-specific standard, and use Adobe’s API reference for the behavior supported by Acrobat.

Locate the Acrobat user JavaScript folder
Use Acrobat’s JavaScript console to ask the application for the user-level JavaScript folder instead of assuming a path.
Work with PDFs and Office files in WPS Office
WPS Office is a free, lightweight alternative for everyday PDF and Office work, with a familiar interface and format compatibility that makes moving existing files easier. It does not provide Acrobat’s JavaScript APIs or locate Acrobat’s user folder.

Frequently Asked Questions
Where is the official Acrobat JavaScript API reference?
Open https://developer.adobe.com/acrobat-sdk-docs/library/jsapiref/ to look up Acrobat objects, properties, methods, and their availability and security notes.
Does Acrobat use the same JavaScript APIs as a web browser?
No. Although both use ECMAScript concepts, Acrobat provides PDF and application objects rather than the browser DOM and other browser-specific APIs.
How can I find my Acrobat user JavaScript folder?
If the JavaScript debugger is available, open its console and execute app.getPath("user", "javascript"). Use the returned path in File Explorer or Finder.
Why might an Acrobat JavaScript method be restricted?
Some methods require a privileged context or trusted function. Check the method’s security and availability notes in the Acrobat JavaScript API Reference.




