- I like to find files (eg. Registryfiles "*.reg") and to execute them automatically with DOpus.
Is this possible?
- How can I cleanup the words typed in find-window? I know there're stored in Registry, but can I remove them another way?
Is this possible?
For the first, I don't think you can automatically process the results of a find operation... so one way I can think of off the top of my head is to do something like:
Set FLATVIEW=On
Select PATTERN *.reg
regedit /i {f}
Set FLATVIEW=Off
...if you want to 'execute' reg files in sub-folders rather than just your 'current' folder.
Note: I only tested this in a small folder structure with just a couple of .reg files spread around a few sub-folders. I'm not sure if there might be any weird timing issues you might encounter with really big folder structures with lots of files and folders... If you only want to 'execute' .reg files in your 'current' folder, then just omit the Set FLATVIEW commands.
For the second question, the Find dialog 'history' is kept in HKEY_CURRENT_USER\Software\GPSoftware\Directory Opus\Config\User\Find\MRU. GPSoft naturally would not condone or 'support' such a maneuver[/b], but you can probably create a reg file with:
[-HKEY_CURRENT_USER\Software\GPSoftware\Directory Opus\Config\User\Find\MRU]
...and 'execute' it in the same way as mentioned above to delete the key.
Thanks, I'll try it tomorrow.