I have a menu containing a button with this command: Go "C:\Users\My name\AppData\Roaming\Microsoft\Windows\Recent" FOLDERCONTENT
This folder contains many shortcuts, so before this command is issued, I want to open a dialog to filter this information first.
Lets say I want to see all recent documents with opus in the filename.
The button should open a dialog to set the filter and then open the result in the menu.
Than I can click the file I want to open with the default programm.
I don't know how to do this, so I hope someone can help me out.
Why not make the button simply go to that folder, then type what you want to filter on? (Type * to enter filtering mode, then whatever you want to find. At least if the Search Field is enabled.)
You could also make the button go to the folder and prompt you for what to type, to avoid having to type the extra * char:
(I'm using the /recent alias here so the command will work regardless of username, OS version, etc.)
Go /recent
Select HIDEUNSEL PATTERN "*{dlgstring|Enter string to find}*"
Select NONE
Caveat: You may need to add the Recent folder to the list of "virtual folders to treat as real" under Preferences - Folders - Virtual Folders, otherwise the view is provided by Explorer and doesn't work with Opus's filters.
Filtering mode does not work in the recent folder while it does work in other folders. The search field is enabled.
[quote="leo"]
You could also make the button go to the folder and prompt you for what to type, to avoid having to type the extra * char:
(I'm using the /recent alias here so the command will work regardless of username, OS version, etc.)
Go /recent
Select HIDEUNSEL PATTERN "*{dlgstring|Enter string to find}*"
Select NONE
Caveat: You may need to add the Recent folder to the list of "virtual folders to treat as real" under Preferences - Folders - Virtual Folders, otherwise the view is provided by Explorer and doesn't work with Opus's filters.[/quote]
This works, except it does not hide the unselected files.