Skip to main content
Participant
April 25, 2022
Answered

Where can I find JavaScript Sample Plugins for Adobe Acrobat?

  • April 25, 2022
  • 3 replies
  • 1744 views

I studied the following documentation:

 

After downloading Adobe SDK from https://developer.adobe.com/console/ I can only find samples for C++ code not for JavaScript samples.

 

 

The folder "/Acrobat_DC_SDK_Windows_2021_v3/Adobe/Acrobat DC SDK/Version 1/JavaScriptSupport/" only contains a PDF file.

 

Can anyone guide me, on where to find sample examples for the JavaScript add-ons?

Correct answer Bernd Alheit

The folder "/Acrobat_DC_SDK_Windows_2021_v3/Adobe/Acrobat DC SDK/Version 1/JavaScriptSupport/" only contains a PDF file.

 

Open the PDF file in Adobe Acrobat and you will see the samples.

 

3 replies

Known Participant
September 10, 2025

Hi were you able to find something? 
Can we use Adobe JS for building plugins for acrobat?

Thom Parker
Community Expert
Community Expert
September 10, 2025

The answer is Yes and No.

There is a lot that can be done with a JavaScript folder level automation script, which is called an Add-in. To a user, Add-ins can be almost indistinguishable from a plug-in, but they are not the same as a true Acrobat Plug-in You can read more about it here. 

https://www.pdfscripting.com/public/Automating-Acrobat.cfm

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
April 25, 2022

The folder "/Acrobat_DC_SDK_Windows_2021_v3/Adobe/Acrobat DC SDK/Version 1/JavaScriptSupport/" only contains a PDF file.

 

Open the PDF file in Adobe Acrobat and you will see the samples.

 

Legend
April 25, 2022

Plugins for Acrobat are written in C/C++ only. There is no such thing as a JavaScript plug-in.

 

JavaScript can be run at Acrobat startup and create tools and menus, but it cannot be a plug-in. 

A plug-in can use simple JavaScript commands, but without a way to get result values, using the AFExecuteThisScript() method.

A plug-in cannot extend JavaScript, add classes etc.

 

If the documentation still seems to say there is such a thing as a JavaScript plug-in, please post a detailed reference/quote so we can help to clarify.

Participant
April 25, 2022

Thanks for the reply. Can you guide me on where can I find Javascript samples as mentioned in the link https://opensource.adobe.com/dc-acrobat-sdk-docs/library/samples/Samples_JavaScript.html