Copy link to clipboard
Copied
I have several files that will need the same comments/notes. Instead of "file, open, comments, menu, import data, click on .fdf file, open, and save" im trying to place that in an action for execute java. Am I on the right path? I was able to find this online:
this.importAnFDF({cPath: this.path.replace(/\.pdf$/i, ".fdf")});
...just not sure if I'm supposed to edit that? Thank you to anyone who know what I'm talking about.
Copy link to clipboard
Copied
What happens when you try it?
Copy link to clipboard
Copied
This code will import an FDF file that has the same name as the PDF (and is located in the same folder).
From your description it seems that you want to import a single FDF file into all PDFs. In that case you will need to specify its path, like this:
this.importAnFDF({cPath: "/c/temp/data.fdf"});
Notice the special file path syntax. You have to use the same in your actual code.