Execute PDF form script from outside environment

Mar 11, 2019

Copy link to clipboard

Copied

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

Views

158

Likes

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

Execute PDF form script from outside environment

Mar 11, 2019

Copy link to clipboard

Copied

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

Views

159

Likes

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

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Mar 11, 2019 0
Mar 11, 2019

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Mar 11, 2019 0
Mar 11, 2019

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Mar 11, 2019 0
Mar 11, 2019

Copy link to clipboard

Copied

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)

Likes

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
Reply
Loading...
Mar 11, 2019 1
try67 LATEST
Mar 11, 2019

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Mar 11, 2019 1