Copy link to clipboard
Copied
I need import FDF data into PDF for several hundred files.
try67’s simple script for export FDF (from post Batch Exporting FDF Files) was great for me, could anybody help me and create similar one for import?
The PDF and FDF file names are always the same (ex. 123.pdf, 123.fdf; abcd.pdf, abcd.fdf...).
I note I am not programmer. Thanks.
It's pretty much the same... Use this:
this.importAnFDF({cPath: this.path.replace(/\.pdf$/i, ".fdf")});
Copy link to clipboard
Copied
It's pretty much the same... Use this:
this.importAnFDF({cPath: this.path.replace(/\.pdf$/i, ".fdf")});
Copy link to clipboard
Copied
Óóóó, works great! Many thanks.
Copy link to clipboard
Copied
Good question but I need to do this from start.
I have the PDF's and one FDF ready to be imported. What next?
Copy link to clipboard
Copied
You want resources for learning JavaScript, so you can create your own program?
Copy link to clipboard
Copied
Please let me know. I'm interested.
Copy link to clipboard
Copied
Create an Action that executes the following JavaScript code, and then saves the file:
this.importAnFDF({cPath: "/C/Temp/FormData.fdf"});
Of course, adjust the cPath variable to the actual location of your FDF file, but use the same syntax as above.
Then run the Action on your files, and you're done!
Copy link to clipboard
Copied
Thank you.
I will have to work out the 'Create an Action that executes the following JavaScript code' first. 🙂
Copy link to clipboard
Copied
Copy link to clipboard
Copied
It took me a few hours to learn to play with this but well worth the time it will save me now.
Excellent advice. Thank you 'try67' 🙂