Skip to main content
manfreds3371663
Participating Frequently
July 26, 2018
Question

JavaScript per VBA doesn't work

  • July 26, 2018
  • 1 reply
  • 727 views

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 has been closed for replies.

1 reply

lrosenth
Adobe Employee
Adobe Employee
July 26, 2018

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

manfreds3371663
Participating Frequently
July 28, 2018

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.

Thom Parker
Community Expert
Community Expert
July 28, 2018
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often