Edit 02-01-2011: When I first tried to include the listing in Sept 2010 the website would not accept it and I thought perhaps there was a limit on how long a listing could be. However I just tried again and it was accepted without any problem. (It's also still available at ahk file). The program seems to be ok. I've used it daily for three months in XP and Vista without any issues.
Further edit: I spoke too soon. When I include the full listing, it all looks fine in Preview, but when I use Submit the posting that appears has a lot of the code missing. So looks as if there is a maximum code size limit. Anyone know what it is?
Edit 03-10-2012: The original illustrations and downloads for this thread were stored at autohotkey.net and are no longer accessible. As an alternative I've posted the following items at Google Docs. Download as required from here.
1. The latest version of the source script (v. 2.0.3 dated 02-10-2012).
2. The compiled exe file. Click on it to run the program. Delete it to remove it.
3. A complete Setup file. Click on it to install the program. Use Add-Remove to uninstall it. [Recommended].
4. Change record. File opens in Wordpad. (If you store it in the same folder as the exe file, the right-click option on the Tray icon will open it).
5. The three screen shots mentioned below. (They apply to v. 2.0.2 so don't show all the latest context options).
If you have the classic version of AutoHotkey installed, then just run the ahk file. If not, I'd recommend installing Show Recent Items by clicking on the downloaded Setup file. It should then run whether or not any version of AutoHotkey is installed.
-----------------------------------------------------------------------------------
Recent Items Filter and Browser - Version 2
This is a much enhanced version of the script that started life here. It gets me back to recently-used files or folders very quickly and it's the first place I look when I'm going back to previous work.
The format is minimalist but comprehensive and the search box allows search-as-you-type, with or without wild-cards, or you can elect to search with regular expressions. Here are three screen shots to illustrate a few aspects. The top two show Full mode, and the third shows Minimal mode with default settings.



Main Features:
• Fast response to search inputs allows ‘search-as-you-type’.
• Shows icons for all items in the list.
• Window now resizable by corner dragging.
• Search box accepts * and ? as wild cards, with option to use regular expressions.
• List View responds properly to scroll wheel.
• Now has a proper Menu Bar.
• Option to Select Folder allows use with other link-containing folders such as Favourites.
• Works even if the user selected the folder option ‘Hide extensions for known file types’.
• Status bar shows items found out of total available, status of filtering options, and allowed search formats.
• Two display modes, Minimal and Full, selectable from View menu. Each stores all program settings independently. By default Minimal mode has just a search box and the File Name column, but it’s all customisable.
Other Features:
• Non-working links marked by special icon (a red ‘x’) plus ‘!’ appended to file-type.
• New context option to copy path and filename to clipboard.
• Inapplicable context options, such as Explore for a url, are greyed out.
• Ignores duplicate links and shows only the most recent one.
• Can add links to Recent by dragging and dropping file(s), folder(s), or link(s) into the List View.
• Typing into the Search Box makes it go full-width, disabling and hiding all other filtering options.
• Can hide unwanted columns (View menu).
• Can now sort from the View menu, duplicating the effect of clicking on column headers.
• Tools menu item opens Recent folder in Explorer.
• Help menu now works from Tool Bar instead of Tray icon.
• Current hot key shown as reminder when mouse hovers on Tray icon.
• Now stores ini file in current user's application-specific data folder (A_AppData) to suit multi-user situations.
Behind the Scenes
The biggest change from the original version was making it work when the user has 'Hide extensions for known file types' switched on. With no extension visible in Recent I had to apply FileGetShortcut to every item, but this command is relatively slow and it could take a second or two to update the display when Recent contained hundreds of items. The solution was to get the data from Recent as a background activity and store it in a file (%ScriptName%.dat) in the same folder as the ini file. I used Shimanov's method to detect changes in the contents of the Recent folder and then trigger an update to the dat file. Spin-off advantages included very fast response time to typing in the search box, and chance to identify bad links and mark them with a special icon.
Another issue appeared when I made the window resizable by dragging. Whenever the List View was too small to show all the columns, it showed an unwanted horizontal scroll bar. I couldn't find any way to turn off scroll bars so ended up dynamically resizing the column widths to ensure there's never any hidden section.
The icons are more useful than I thought they would be and I now run it with the Type column hidden most of the time. But this forced me to add alternative access to column sorting and that's really why there's now a menu bar. Again this proved nicer to have than I expected so I moved most user options there instead of having them on the tray icon as before. ('Restore settings' remains there as a safety route back in case the gui ever becomes inaccessible).
I added the File/Select Folder option when I realised that effectively I'd made a browser for folders-that-contain-links. It struck me that the script could also have application for browsing folders such as Favourites as well. So I added the drop-and-drag function as well to make it easy to add new links manually.
How to Run It:
Minimum hassle method: Download the setup file to a new folder in My Received Files and then click on it. A standard installer window will appear. Follow the instructions and it will install the exe file and be ready to run. Use Add/Remove in the normal way to uninstall it.
If you have AutoHotkey installed: Download the ahk file into a convenient folder and click on it to run it.
If you don't have AutoHotkey installed and don't want to use the installer: Download the compiled exe file and click on it to run it.
In all cases, when it runs it will add ini and dat files to the folder C:\Documents and Settings\<user name>\Application Data\DATApps\Show Recent Items\ in XP or to C:\Users\<user name>\App Data\Roaming\DATApps\Show Recent Items\ in Vista. When it closes via Exit, the program deletes the dat file but leaves the ini file ready for next time.
The listing below contains a lot of preamble about modifications etc. I was going to delete them, but then I thought it might possibly be useful to somebody else besides me so I've left it in. Same applies to the lavish documentation. It's there because I tend to forget the details very quickly.
I think it's a pretty useful working program as it is, but no doubt more bugs will emerge in due course [but not so far - see 02-01-2011 edit at beginning of post] :-).




