Automator: Search the contents of PDF's in a specific folder
Hey Everyone. I am looking to automate something that I can already do in finder. Just looking for a quicker option as its something I need to do regularly.
I have a folder full of PDF's. I repeatedly need to search the contents of all of the PDF's in this one folder. The folder never changes, but the keyword or query changes.
I'd like a way to run an automator application or apple script that will ask me for text, and then search this one folder for that text. Then it would filter the results in finder to show me only the PDF's that contain that keyword. I don't need it to open any of the files, but I just want to see a finder window with them.
Anyone know if this can be done with automator? I know they have a "Search PDF" option, but I can't seem to make the search keyword variable.
Appreciate your help.
MacBook Pro with Retina display, OS X El Capitan (10.11.3)