These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Pull Text from Document to Metadata

EricW_CA
Registered: Mar 24 2010
Posts: 6

I have about 500 reports that I am about to batch convert from Word to PDF. However, the "Title" document properties in each are all the same because, as people created the reports, they did not update the properties. I have been trying to find for several days now a way to take the first line of text in the report (which is the report title) and automatically insert that text into the text doc properties either before or after the conversion to PDF. Any suggestions would be tremendous, as I have looked through the JS reference and could not find any particular scripting that would allow me to do this operation.

My Product Information:
Acrobat Pro 9.0, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
It might be possible with a script (using getPageNthWord). The problem will be to determine when the first line of text ends.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com