Thanks. Not 100% of what I was looking for since I don't want to add an .exe to do this. But it gave me more info of what to look for and figured out how to make my own button to clear the 3 files. Works perfectly for what I need
I guess it wasn't 100% what you were looking for for another reason. If what you showed does what you wanted, you apparently wanted to clear the history. The code at the link I supplied causes the fields to be empty the next time Find is invoked, but the history is still there in the drop-down. Your code clears the history, but the last used values are still pre-filled when Find is invoked. Either one is potentially useful, but they're not interchangeable.
I looked into this because I thought I might adopt what you provided for one of the reasons you stated, namely it's completely within Opus, but I soon discovered it provides a different function.
(These observations apply to Opus 9. I don't know about Opus 10 which I haven't quite gotten around to install).
Yes, I noticed that. It only cleared the history and not the field itself. So I found a few more files to delete and now the fields are empty as well. BUT it only worked when the find panel was closed like Leo said.
I have no idea if I'm deleting to many files or not. All I know is it all works as long as the find panel is closed and I'm happy with the results
I also created a new "Find Files (clear history first)" button so the above code is launched first before the Find panel is opened. So now when I invoke the Find Files panel, it clears it out first. Here's that code.
I think the MRU files are related to the history. The find.osd file is the same one that's manipulated by the AutoHotkey code. Not only don't I know whether you're deleting too many files. I don't know whether you're dong too much by deleting the whole find.osd file. I may experiment with this.