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

Execute PDF form script from outside environment

Guest
Mar 11, 2019 Mar 11, 2019

Hello all,

I've got a question about PDF forms and scripts.

Can I execute a custom made script inside a PDF form without opening the PDF.

Example:

I've got a PDF form with x-amount of text fields and y-amount buttons. I made a script (button) that converts all the text fields to read-only and removes all buttons from sight. Is it possible to execute this script(/button) without opening the PDF?

Looking forward to you answer

Sincerely

TOPICS
Acrobat SDK and JavaScript , Windows
500
Translate
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 ,
Mar 11, 2019 Mar 11, 2019

Not with any Adobe application. I don't see how this is going to work, honestly. What exactly are you trying to achieve?

Translate
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
Guest
Mar 11, 2019 Mar 11, 2019

First of all, thanks for the quick response.

I am trying to automate the "Set to read-only and remove buttons" action for multiple forms without opening them all one by one.

edit:

I am not looking for an adobe program to perform this action but just want to know if I can access this script from outside the PDF in any way

Translate
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 ,
Mar 11, 2019 Mar 11, 2019

There's no need to access a script to do that. Any PDF library worth its salt should allow you to do it directly.

Translate
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
Guest
Mar 11, 2019 Mar 11, 2019

Do you have any suggestions where to find a (preferably free) PDF library?

I can work in the following languages:

- Visual Basic .NET

- Visual C++

- Visual C# .NET

(I am limited by the programming languages of Solidworks PDM)

Translate
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 ,
Mar 11, 2019 Mar 11, 2019
LATEST

No, sorry, I don't use any of these languages.

Translate
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