• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

JavaScript per VBA doesn't work

New Here ,
Jul 26, 2018 Jul 26, 2018

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?

TOPICS
Acrobat SDK and JavaScript

Views

452

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 26, 2018 Jul 26, 2018

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 28, 2018 Jul 28, 2018

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 28, 2018 Jul 28, 2018

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

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 31, 2018 Jul 31, 2018

Copy link to clipboard

Copied

LATEST

Thank you very much.

In the meantime, I could solve the problem.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines