1 person found this helpful
I would use the Action or batch processing in the Professional version, open a PDF check the keywords, info.Keywords, and save the file to the appropriate folder. You may need to allow for a PDF to contain both keywords.
For example, in a folder with 29 files, this code pulls out the 21 that have "Subject :I/O" in the body of the document.
search.wordMatching = "MatchAllWords";
search.query("Subject :I/O", "Folder", "/C/Documents and Settings/myfolder");
Okay, so if I set it up like:
for (var p = 0; p < this.numPages; p++)
var numWords = this.getPageNumWords(p);
for (var i=0; i<numWords; i++)
var ckWord = this.getPageNthWord(p, i, true);
if ( ckWord == "Subject :I/O")
Then would it make more sense to use "this.extractPages" or "console.println(p);"? Or maybe a combination of them?