Copy link to clipboard
Copied
Thank you for the support for insert a certificate
It works great when the script is executed in the JavaScript debugger.
Unfortunately it does not work if I the script using VBA with fields.ExecuteThisJavascript (jsCode) wants to start.
What could that be?
Security settings?
Copy link to clipboard
Copied
I believe that is correct, due to security restrictions. Check the JavaScripts docs to be certain.
Copy link to clipboard
Copied
Thanks very much.
I've found that is the JavaScript in a protected folder like
C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\Javascripts
must be.
Copy link to clipboard
Copied
These articles explain a bit about Acrobat scripting security:
https://acrobatusers.com/tutorials/trust-and-privilege-in-acrobat-scripts
https://acrobatusers.com/tutorials/using_trusted_functions
Instructions for Installing Folder Level Scripts (Automation Tools) and Plug-ins
Trust and Privilege in Acrobat Scripts
Copy link to clipboard
Copied
Thank you very much.
In the meantime, I could solve the problem.