Copy link to clipboard
Copied
I'm trying to find all the pdf docs in a folder that use the same name for a fillable field. I tried using the Advance Search for "All PDF Documents in" but that only finds text in the pdf docs. I tried to search using the field name (see yellow box in screen shot #1) but that returns no results (see red box in screen shot #2) when I know that there are at least 3 pdf docs using this field name in that folder (see example of 1 of the docs in screen shot #3).
Is there any way to accomplish this?
Screen shot #1:
Screen shot #2:
Screen shot #3:
Copy link to clipboard
Copied
The Advanced Search function only searches the value of fields, not their names.
You can use an Action (if you have Acrobat Pro) to print out a list of all files that contain a certain field-name.
Copy link to clipboard
Copied
This script runs from the Console Window and will search all currently open documents. It could be easily modified to work in an Action.
var aDocList = [];
var oDoc;
for(i=0;i<app.activeDocs.length;i++)
{
oDoc = app.activeDocs;
for(var n=0;n<oDoc.numFields;n++)
{
if(oDoc.getNthFieldName(n) == "SearchFieldName")
{
aDocList.push(oDoc.path);
break;
}
}
}
Copy link to clipboard
Copied
Thanks for the answers!
I don't have Pro but I'll consider getting it.
I couldn't get the batch file to run but I'll keep working on it as time permits.
Copy link to clipboard
Copied
The console script solution will work in Reader. You don't need Pro.
Copy link to clipboard
Copied
In the screenshots above it's evident you do have Adobe Acrobat Pro... It's written in the title of the application.
Copy link to clipboard
Copied
I would say even more: Acrobat Pro version 9 for Windows.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now