Any way to interact with the search box in the "Open file" dialog on mac?

I have many scripts that use the open file dialog. Each script is tailored to the data that I'm grabbing at that moment. However, each of those different files have different names (same extensions though.) Usually I just type something in the search box to wade through the thousands of files I have however, I was wondering if there was a way to have the program type something into the search box for me.

I know this seems trivial, but I do this enough that it'd be a significant time saver for me.