Skip to main content
francj
Participant
Jan 29, 2019 12:38 PM UTC
Answered

Batch import data from FDF files

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.

This topic is closed to new replies. Start a new post to keep the conversation going.
try67
try67Correct answer
Community Expert
Jan 29, 2019 12:56 PM UTC

It's pretty much the same... Use this:

this.importAnFDF({cPath: this.path.replace(/\.pdf$/i, ".fdf")});

9 replies

Participant
Jun 28, 2022 6:23 AM UTC

Good question but I need to do this from start. 
I have the PDF's and one FDF ready to be imported. What next?

Translate
Legend
Jun 28, 2022 8:17 AM UTC

You want resources for learning JavaScript, so you can create your own program?

Translate
Participant
Jun 28, 2022 10:38 AM UTC

Please let me know. I'm interested.

Translate
try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
Jan 29, 2019 12:56 PM UTC

It's pretty much the same... Use this:

this.importAnFDF({cPath: this.path.replace(/\.pdf$/i, ".fdf")});

Translate
francj
francjAuthor
Participant
Jan 29, 2019 1:13 PM UTC

Óóóó, works great! Many thanks.

Translate