Recent Files by file association & Find as I type

I would like to create a favorite for my recent files by their file association/app, and after searching the DOpus manual, don't find a reference to the recent files option. A rough conceptual screen shot is attached.

I know I can view the Recent folder on Windows but that doesn't enable me to view the data in a usable way. I'd prefer to not have to go to the start menu.

Additionally, it would be great if we could "find as we type" where DOpus would find any file where any portion of the name matches what we are typing. There may already be a plugin for this but i am not aware of it.

BTW, I absolutely voted for DOpus on Life Hacker.
Thanks,
Sue


Recent filter:

The Recent folder is a real folder (not a special virtual folder) containing shortcuts to the actual files. That means you could do something in Opus like create a Layout or Style which goes to that folder with a folder applied so that it only shows particular file extensions. (And other Layouts/Styles for other types.)

Since they are shortcuts and not the real files, you may need to add .lnk to the pattern. For example, *.(mpg|mpeg).lnk would match all shortcuts to mpg and mpeg files.

You can use the /recent alias in Opus to automatically take you to your Recent folder.

Find as you type (Substrings):

For finding files by substring, type * into the lister and then the substring you want to search for. Opus will then hide all files except those containing the string.

Thanks, Leo. May I ask you to say a little bit more about the filters for this task? As you can see from the screenshot, there are various apps for which I would like to perform this quick finding of recent files. Would I then create a unique tab for each file type?

The way the program works that I took a screenshot if is if your double click on any of the titles on the right, it filters the entire list for just those that match. Could we make this functionality an enhancement request for DOpus?

thanks,
Sue

Leo,
I think I need some help with filters. I have created filters to match the criteria I presented in the screenshot, but when I apply a filter to either the recent files folder, or even my images folder, it removes matching results rather than presenting them (with the filter name in the show field in tab dialog). I tried something basic as
name match jpg use wildcards

and nothing was presented - when most of the folder matches.

BTW, I don't have a drop down box there to select a filter, I have to actually type it. Am i missing something here?

Also, is there a way to assign shortcuts to filters? So, for example, I could make the recent files folder a favorite then invoke a shortcut to only see my WordPerfect files, images, or what have you.
Thanks so much in advance,
Sue

There's a small trick here:) When one accesses the folder for "/recent" one is actually reading a windows virtual folder - a namespace - which by default are displayed using the native windows API. Because of this, the commands and functions in a virtual folder are restricted to those as supplied by the API and Opus commands only work by emulation. So the filters do not work by default (See the Opus manual for further discussion on namespaces.)

So what you have to do is tell Opus to display this folder itself by going to Preferences - Folders - Virtual Folders and adding the path to 'Treat the following virtual folders as real:" This will be something like

C:\Users\greg\AppData\Roaming\Microsoft\Windows\Recent

You can find the real path by entering /recent into the Opus path list then copy and paste this into the Virtual Folder Preferences.

Then go back to the lister and enter /recent to display this normally and now your filters for specific files will work.

Dr. Perry,
This didn't resolve the problem, and furthermore, the filter doesn't work in my [real] images folder either, so I'm wondering what I am missing here. Also, I would like to create a lister with the recents folder in each tab but filtered differently for each app, as presented in the attached screen print. is that possible?
Many thanks,
Sue

Assuming I've understood what you want to do correctly, here is a way to do it using Styles so that you get (in my example) Recent JPG and Recent TXT tabs which show you the .JPG and .TXT files in your Recent folder.

You could also do something similar using buttons or hotkeys instead of Styles if you want to avoid creating things which appear next to the other Styles tabs. Ask if you need help doing that.

Since there are lots of steps in this I made a video showing what to do in case any of my instructions are unclear:

nudel.dopus.com/posts/recent_filter.wmv (4MB)

I've broken it down into small steps below so it might look complicated, due to the amount of text, but it isn't really.

Here's what to do:

Part 1: Make Opus treat the Recent folder as a normal folder

By default, the Recent folder is treated as a special "virtual" folder where some of Opus's features will not work. We need to tell Opus to treat the Recent folder as a normal folder so that we can use Opus's filtering ability.

[ul][li]Go to your Recent folder by typing /Recent into the location field in Opus.
[/li]
[li]Copy the full path to the folder into your clipboard.
[/li]
[li]Open to Settings -> Preferences / Folders / Virtual Folders.
[/li]
[li]Click the Add icon above the list.
[/li]
[li]You'll be asked which folder you want to add. The path to your Recent folder should already be selected but if it isn't you should paste it in. Then click OK.

You should now see the path to your Recent folder in the list in Preferences.
[/li]
[li]Close Preferences by clicking OK.
[/li]
[li]Back in the main Opus window, type /Recent into the location field again. You should see the directory re-read and look slightly different now. (It might be difficult to tell the difference depending on your configuration. Don't worry if it looks the same.)[/li][/ul]

Part 2: Create a Style to display and filtered the Recent folder

[ul][li]Right-click the Styles bar and select Add Style. Call the new style Recent JPG or whatever you want.

Your new style should appear as a new tab.
[/li]
[li]Right-click the Styles bar again and select Edit Styles..., which will open the Preferences window showing all of your Styles.
[/li]
[li]In the list, select the Recent JPG style that you just created. Then, near the bottom of the window, turn on the Folder and Format checkboxes.

Doing this means that whenever you select this Style it will go to the Recent folder and also apply a folder format.
[/li]
[li]Click the Edit... button next to the Format checkbox.
[/li]
[li]In the window that appears, click on the Filters tab. Enable the Show Filter at the top and type this in the Filename field:

*.jpg.lnk

(Why the .lnk on the end? Because the Recent folder shows a list of shortcuts and shortcuts are really files with a hidden .lnk extension on the end. So a shortcut to Hello.jpg would really called Hello.jpg.lnk, but the .lnk part of the name is always hidden.)
[/li]
[li]Click OK and then click OK again to save your changes and exit the Preferences window.[/li][/ul]

If you now click on the Recent JPG tab you should see just the .JPG files in your Recent folder.

Part 3: Make more Styles with different filters

All the hard work is done now. You can use the Recent JPG Style as the basis for other filters:

[ul][li]Right-click the Styles bar again and choose Edit Styles... again.
[/li]
[li]Select the Recent JPG style and click the Duplicate icon above the list.
[/li]
[li]Call the new Style Recent TXT (or whatever you want).
[/li]
[li]The only thing you need to change in the new style is the filter. Click the Edit... button next to Format again, and go to the Filters tab. Change the filename filter from *.jpg.lnk to *.txt.lnk (or whatever you want).[/li][/ul]

Repeat as necessary to create the tabs that you need.

If you want a tab to display more than one type of file then that is easy enough. If you wanted to show all .JPG and .TXT files then you would use this as the filename filter:

*.(jpg|txt).lnk

You can put as many extension as you want within the ( ) brackets with a | pipe character before each one.

Leo,
Thanks so much for this. Based on what you provided, i can conceptually create several styles to make this work, however, there is something flaky happening with the filters functionality. It isn't filtering, and I have no idea why. i have quite a bit of experience creating filters, generally speaking, and so it usually is a no-brainer, but my DOpus filters, aren't filtering. it's so strange. Any ideas as to a remedy?

You can see the non-filtered/filtered results in the attached screenshot.
many thanks,
Sue