The following simple snippet runs in that console and returns a list of results in all the PDFs selected:
search.matchCase = false; search.wordMatching = "MatchAnyWord"; search.bookmarks = true; search.query("will","Folder","/C/Users/xxx/Desktop/PDFs");
I've basically created a folder called PDFs where I stored 2 PDFs and then I run this search which returns all the results in a separate window. That's great, but I need to be able to "export" this functionality and pack it up in a script. Has anybody got any idea? Or even better, has anybody done this before?