Skip to main content
manfreds3371663
Participating Frequently
Jul 26, 2018 4:12 PM UTC
Question

JavaScript per VBA doesn't work

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?

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

lrosenth
Adobe Employee
Adobe Employee
Jul 26, 2018 4:45 PM UTC

I believe that is correct, due to security restrictions. Check the JavaScripts docs to be certain.

Translate
manfreds3371663
Participating Frequently
Jul 28, 2018 1:25 PM UTC

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.

Translate
Thom Parker
Community Expert
Community Expert
Jul 28, 2018 3:51 PM UTC
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often