Execute PDF form script from outside environment

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
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?

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
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.

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)
Copy link to clipboard
Copied
No, sorry, I don't use any of these languages.

