Copy link to clipboard
Copied
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?
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 w
...> 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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
> 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.