Copy link to clipboard
Copied
Hi there,
so I had some issues with the JS editor from Acrobat and solved this problem thanks to help on this forum, using a different external editor.
Now, I have many fields on my PDF which all have to be computed using the same operation.
Let's say, basically, I have 200 fields, each of them being equal to one of 200 other fields multiplied by 5.
I could go through all those 200 fields and each time click on all those buttons to insert the correct operation ... or, I could directly edit the JS for this PDF more quickly via some copy/paste or with a script of my own.
I've tried that by clicking on the "More > All Javascripts" option, but it never saves my edits, even though I am careful to change everything that needs to.
Does anyone know how to do that efficiently?
Is there a way I can find the JS file that is use by Acrobat to do the calculations?
Thanks!
Nicolas
Copy link to clipboard
Copied
With JavaScript and the method setAction for fields you can set the calculations.
Copy link to clipboard
Copied
Hum, not sure I understand what you mean Bernd.
I know some basics of JS but not much.
What I was hoping for is to quickly edit (via a script in my preferred language) the JS file associated to my PDF instead of going through 200 clicks and more ...
Copy link to clipboard
Copied
You can use this tool I've developed to quickly and easily apply the same Calculation script to all of your fields: Custom-made Adobe Scripts: Acrobat -- Mass Edit Fields Actions
Find more inspiration, events, and resources on the new Adobe Community
Explore Now