I've created three versions of this tool, all for very reasonable prices.
The $5 version will rename any number of fields that you specify to it directly, by running it like this from a command-line window:
java -jar RenamePdfFields.jar "Input File Path" "Output File Path" "Current Field Name 1" "New Field Name 1" "Current Field Name 2" "New Field Name 2" ...This means that the file will be opened, "Current Field Name 1" will be renamed as "New Field Name 1" and that "Current Field Name 2" will be renamed as "New Field Name 2", and then the file will be saved under the new file path.
The $10 version of this tool is a bit more advanced, in that you can specify the names of the current and new fields in an input file and don't have to write them out in the command. You can specify a single text file that contains two tab-delimited, with the current names in the first column and the new ones in the second column, or two text files, one with the current names and one with the old names.
The command for the first variant looks like this:
java -jar BatchRenamePdfFields.jar "Input File Path" "Output File Path" "List Path"And the second variant looks like this:
java -jar BatchRenamePdfFields.jar "Input File Path" "Output File Path" "Current Names List Path" "New Names List Path"
However, it should be mentioned that these tools are not suitable for renaming duplicate fields (ie. multiple "widgets" with the same name), or fields with a period (dot) in their names.
It's important to stress that both of these versions DO NOT REQUIRE ACROBAT and that they will both work on either a Windows or a Mac computer, as long as Java is installed.
The third version, which costs $20, is a script that runs within Acrobat. It accepts a tab-delimited text file with the names of the current fields in the first column and the new names in the second column, and will then process the fields in the file.
This version is very easy to use, but has one IMPORTANT caveat: renaming a field using this script will cause it to lose any actions associated with it, as well as settings such as format/validation/calculation.
For more information about these tools you can contact me directly.
9 comments:
Is this windows or OSX?
@Cosmic Rocket
All of my tools run on both Windows and Mac computers, unless mentioned otherwise.
Hi,
Wanted to know if the $5 and $10 variants retain the original formatting for the fields after renaming them? for example date1 which has a date formatting..continues to remain so after it is renamed to date2?
@Darshan
Yes, it does keep all the formatting options.
Can I use any of these versions to change "Text1" to "Text1.Subform1.SubSubForm2.." etc.? I want to change form with "flat" field names to hierarchical field names.
@John
You can rename the fields in that way, but it will not create a hierarchy, ie you could not then access "Text1" and change the properties of all of them.
Can you rename with regex?
Not currently, but I can probably add it.
Contact me privately to discuss it further.
For anyone just seeing this page - my company purchased the $10 version of this tool and it works perfectly. Well done to the author.
Post a Comment