Normally, when you run an AppleScript, macOS will prompt you to locate the app if it’s missing. I’m not sure why that didn’t happen in your case.
Currently, the text needs to be baked into the PDF file in order for EagleFiler to search it. Here’s a thread where another customer used Tesseract to do it.