Welcome Guest.   Make a donation to an author on the site November 27, 2014, 02:50:28 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2010! Download 24 custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1] 2 3 4 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: FARR plugin: FARR Most Recently Used 1.0.0  (Read 42896 times)
phitsc
Honorary Member
**
Posts: 1,017



see users location on a map View Profile Give some DonationCredits to this forum member
« on: July 01, 2008, 07:15:54 AM »

Description
The FARR MostRecentlyUsed plugin shows the contents of the 'My Recent Documents' folder or a list of most recently used files of applications storing their most recently used files in the registry.



Download
You can get it from here: http://farrplugins.object.../FarrMostRecentlyUsed.zip

Usage
Use the following aliases to give you a list of your most recently used files:
- mru  : Shows a simple menu with the below aliases
- mrum : Shows files in your 'My Recent Documents' (XP) or 'Recent Items' (Vista, but see known issues) folder
- mrup : Shows files of configured programs, storing their MRU files in the registry
- mrua : Show a combined list of files out of mrum and mrup
- mruu : Show files from selected groups only (selectable in the options dialog)
- mrul : Show a list of installed and supported applications for further selection


Use the following modifier keywords to change the search:
+byname   : Force sorting by name
+bydate   : Force sorting by date last accessed
+bymod    : Force sorting by date last modified
+bycreate : Force sorting by date created
+.[ext]   : Filter results by file extension [ext]. More than one can be used, e.g. +.h +.cpp


To show a list of most recently used files for selected applications, use the following modifiers:
+acrobat : Adobe Acrobat Reader (only 9 currently)
+akelpad  : Akelpad
+audacity : Audacity
+dwcs3   : Dreamweaver CS3
+foxit   : Foxit Reader
+icofx   : IcoFX (only 1.6 currently)
+km      : KMPlayer
+msvc8   : MS Visual Studio 2005
+msvc9   : MS Visual Studio 2008
+npp     : Notepad++
+office3 : Microsoft Office 2003
+office7 : Microsoft Office 2007
+oo2     : OpenOffice 2.0
+paint   : Paint
+photoe  : Photoshop Elements (only 5.0 currently)
+snag    : SnagIt
+sql     : SQL Server
+ted     : TED Notepad
+winrar  : WinRAR
+winuae  : WinUAE
+wmp     : Windows Media Player
+wordpad : Wordpad


(built-in group for My Recent Documents)
+recent : My Recent Documents

See readme.txt for options and details.

Version history
1.0.0
- Added / Changed the following applications:
  - Added Visio 2007 to Office 2007 (+office7)

0.5.1
- Modifier entries in FarrMostRecentlyUsed.user now override identical ones in FarrMostRecentlyUsed.config.
- Added / Changed the following applications:
  - Added Akelpad (+akelpad) *
  - Added Audacity (+audacity) *
  - Added icon path for TED Notepad *
  - Added icon path for WinRAR *
  - Added icon path for WinUAE *

0.5.0
- Added support for mru items specified in .ini files
- Added new alias mrul which gives a list of supported and installed applications
- User defined result list option now only shows installed applications
- Added / Changed the following applications:
  - Added Dreamweaver CS3 (+dwcs3) *
  - Added IcoFX 1.6 (+icofx)
  - Changed +oo to +oo2 (in expectance of OpenOffice 3)

0.4.0
- Added icons to the simple menu (thanks hamradio!)
- Added support for the following applications:
  - Adobe Acrobat Reader 9 (+acrobat)
  - Notepad++ (+npp)
  - OpenOffice 2 (+oo)

0.3.0
- Added simple menu (type mru)
- Added special aliases:
  - mrum (My Recent Documents)
  - mrup (Recent Application documents)
  - mrua (All recent documents)
  - mruu (User selected groups of applications / My Recent Documents)
- Much improved filtering and sorting
- Show icons for UNC files
- Added FarrMostRecentlyUsed.user config file. Like FarrMostRecentlyUsed.config, but will never be overwritten.

0.2.0
- Added check for file existence for local files. UNC paths are currently never checked for existence.
- Added MRU specifications for:
  - Microsoft Office 2003 (+office3) *
  - Photoshop Elements (+photoe) *
  - KMPlayer (+km) *
  - SnagIt (+snag) *
  - SQL Server (+sql) *
  - Paint (+paint)
  - TED Notepad (+ted) *
  - WinRAR (+winrar) *
  - WinUAE (+winuae) *
  - Wordpad (+wordpad) *
- Renamed modifier for Microsoft Office 2007 to '+office7'

* Note that I did not test these myself, please report if they don't work.

0.1.0
- initial release
« Last Edit: July 27, 2009, 07:32:45 AM by phitsc » Logged

phitsc
Honorary Member
**
Posts: 1,017



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #1 on: July 01, 2008, 07:25:18 AM »

Concerning showing most recently used files for selected applications:
These are configured in a config file (see readme.txt). I've added the ones I found in my registry. As you can see, the amount of applications I'm using seems to be fairly limited smiley. It's easy to add you own applications though and I encourage everyone to post registry paths to the MRU lists of their favourite applications here so I can add them to the config file.

How to find MRU lists the FARR MRU plugin can handle:
Start regedit.exe and search for MRU or recent. If you find a key that contains values named File1, File2, File3, etc. (or something similar, like Item 1, Item 2, Item 3, etc.) select the respective key and then Copy Key Name in the context menu. Then paste that into to the FarrMostRecentlyUsed.config file.
Logged

TucknDar
Charter Member
***
Posts: 1,094


Advanced coder of Nowt

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: July 01, 2008, 08:16:32 AM »

Love the idea, but can't get it to work.

Typing 'mru' in FARR does nothing, for some reason. I'm using FARR 2.12.03 with XP Home sp2.

I've tried quitting and restarting FARR, but to no avail. Any idea what may be causing this? I'll be happy to provide more info of course!
Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #3 on: July 01, 2008, 08:23:57 AM »

It works fine here. FARR 2.12.03, Windows XP SP3

Great work Thmbsup
Logged

My open-source online piano game: http://musicope.com/
TucknDar
Charter Member
***
Posts: 1,094


Advanced coder of Nowt

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: July 01, 2008, 08:29:42 AM »

I should add that I've checked in the registry that there are entries for apps specified in the config, so it's not that there's just no results  huh
Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: July 01, 2008, 08:41:28 AM »

Could you implement a way to add any of installed programs like PSPAD, Netbeans etc. ?
Logged

My open-source online piano game: http://musicope.com/
mouser
First Author
Administrator
*****
Posts: 33,702



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: July 01, 2008, 09:06:45 AM »

Showing entries from the mru list has been one of the most requested features for farr..
It's fantastic to have a plugin that does this.  thumbs up thumbs up thumbs up

Plus it works great.

Love this one.  Kiss
Logged
jgpaiva
Global Moderator
*****
Posts: 4,711



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: July 01, 2008, 09:08:06 AM »

czechboy: For that, i think you need to find out where those lists are saved Wink
Logged

mouser
First Author
Administrator
*****
Posts: 33,702



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: July 01, 2008, 09:10:14 AM »

This may be a very good candidate for something you would want to display in the farr window as soon as farr is shown, instead of the default list of last programs launched by far.  you can do this if you want by going to the hotkeys configuration in far and either modifying the hotkey trigger of choice (Break key) or adding a new one, and specifying mru as the text for the search edit box.
Logged
jgpaiva
Global Moderator
*****
Posts: 4,711



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: July 01, 2008, 09:15:15 AM »

I just had a brilliant idea!!

People: when you post a link to an app, please post the link for its .dcupdate file too. Then, we can click it, and install if from dcupdater, which is much nicer than unpacking the .zip file into the farr directory Wink

The good advantage about this, is that you don't have to update the .dcupdate file, because who downloads it will always chose to "install latest version from the web"

jgpaiva  Kiss dcupdater
Logged

mouser
First Author
Administrator
*****
Posts: 33,702



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #10 on: July 01, 2008, 09:15:22 AM »

Just discovered and tried the ability to specify additional registry keys with +modifiers, like +office.
WOW that is so cool.

An idea:
maybe the first entry in the config file could be like:
[copy or print]
+|DefaultMRU
list of reg keys to check and show by default

that way a user who wanted to could modify the list of reg keys that got checked for the default mru display, and could even add reg keys from certain programs they wanted to show by default.
Logged
jgpaiva
Global Moderator
*****
Posts: 4,711



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #11 on: July 01, 2008, 09:23:50 AM »

Ok.. The mru for acrobat is a bit different.. It's located under HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\8.0\AVGeneral\cRecentFiles. But the problem is that it stores the entries under keys named c# (where # is a number), and then those have values named "tDIText" that store the path.
Oh, and the path looks like this: "/D/Ist/_Current/CM/Apresentação/18-automatic-partitioning.pdf" (which is even more stupid Sad ).
Would it be possible to get this to work for acrobat?
If not, no biggie smiley
Logged

CWuestefeld
Supporting Member
**
Posts: 942



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #12 on: July 01, 2008, 09:30:38 AM »

For your MRUing pleasure, here are some I got from my system:

[copy or print]
+km|KMPlayer
HKEY_CURRENT_USER\Software\KMPlayer\LastViewFile

+snag|SnagIt
HKEY_CURRENT_USER\Software\TechSmith\SnagIt\8\Recent Captures

+sql|SQL Server
HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\90\Tools\Shell\ProjectMRUList

+msdn|MSDN
HKEY_CURRENT_USER\Software\Microsoft\MSDN\8.0\WebBrowser\MRU
HKEY_CURRENT_USER\Software\Microsoft\MSDN\9.0\WebBrowser\MRU

However, a couple of others I tried didn't work as expected:

Trying to do it for EverNote, I got a crash.
[copy or print]
HKEY_CURRENT_USER\Software\EverNote\EverNote\Recent Document List

I thought this would work for IE, but get no results:
[copy or print]
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs

And these for the MSDN library didn't behave as expected:
[copy or print]
HKEY_CURRENT_USER\Software\Microsoft\MSDN\8.0\WebBrowser\MRU
HKEY_CURRENT_USER\Software\Microsoft\MSDN\9.0\WebBrowser\MRU
Logged



jgpaiva
Global Moderator
*****
Posts: 4,711



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #13 on: July 01, 2008, 09:36:59 AM »

This may be a very good candidate for something you would want to display in the farr window as soon as farr is shown, instead of the default list of last programs launched by far.  you can do this if you want by going to the hotkeys configuration in far and either modifying the hotkey trigger of choice (Break key) or adding a new one, and specifying mru as the text for the search edit box.
Visual Guide:





PS: mouser: in SC v2.37.01, saving a file after adding a shape to it results in crazy failure, on my vista64.
Logged

mouser
First Author
Administrator
*****
Posts: 33,702



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #14 on: July 01, 2008, 09:41:17 AM »

Quote
PS: mouser: in SC v2.37.01, saving a file after adding a shape to it results in crazy failure, on my vista64.

This x64 crashing was fixed in an unreleased beta of SC; my plan was that as soon as i catch a break from FARR i would update SC, but maybe i need to release a bugfix for x64 users sooner rather than later.  See here for unannounced download of x64 fixed version: http://www.donationcoder....m/index.php?topic=13525.0
Logged
jgpaiva
Global Moderator
*****
Posts: 4,711



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #15 on: July 01, 2008, 10:08:45 AM »

Ok, i'll update smiley
Logged

TucknDar
Charter Member
***
Posts: 1,094


Advanced coder of Nowt

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #16 on: July 01, 2008, 11:18:07 AM »

OK, been trying a bit more, and the plugin does work on my end to. I had to change the office MRUs to Office2003, which worked. So part of the problem was right there between my chair and keyboard...

But I thought just typing 'mru' would bring a complete list? Are only files from the "recent folder" shown? I guess I'll have to do without, since it seems the shell replacement I'm using (LiteStep) doesn't use this like explorer.exe. Both +office and +foxit works and I'm sure other similar will work too, though, so I guess I can make an alias to bring the results I'd like most Thmbsup

Great plugin!
Logged
TucknDar
Charter Member
***
Posts: 1,094


Advanced coder of Nowt

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #17 on: July 01, 2008, 11:24:49 AM »

btw many of the file extensions in the ComdDlg32\OpenSaveMRU key are very useful to me, such as:
[copy or print]
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\doc
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\xls
Logged
nitrix-ud
Charter Member
***
Posts: 482

View Profile Give some DonationCredits to this forum member
« Reply #18 on: July 01, 2008, 02:22:51 PM »

seems like a great plugins

i did not manage to make it work for photoshop MRU
+photoshop|Photoshop
HKEY_CURRENT_USER\Software\Adobe\MediaBrowser\MRU\Photoshop\FileList

it is not entries like office though...
see capture
Logged
jgpaiva
Global Moderator
*****
Posts: 4,711



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #19 on: July 01, 2008, 02:32:10 PM »

nitrix: doesn't look like there's any path to a file.. If there was one in any of those folders, it might be possible to get them..
Logged

phitsc
Honorary Member
**
Posts: 1,017



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #20 on: July 01, 2008, 02:42:53 PM »

First: Thanks for all the compliments! cheesy

Second a clarification:
FARR MRU currently shows either the contents of the 'My Recent Documents' (XP) resp. 'Recent Items' (Vista, but see remark in readme.txt) folder or the most recently used files of one or more applications specified by modifiers. I.e. if you just type mru, you'll get only 'My Recent Documents', if you add something like +msvc9, you'll get only the most recently used Visual Studio 9 files. You could then add +office and would get all MSVC9 files plus all Office files, but you currently can't get them in the same list as your 'My Recent Documents' files.

To the suggestions:

Quote
Could you implement a way to add any of installed programs like PSPAD, Netbeans etc. ?
They can be added already if they store their mru files in the registry in the format as described in the readme.txt.

Quote
An idea:
maybe the first entry in the config file could be like:
Code:

+|DefaultMRU
list of reg keys to check and show by default

that way a user who wanted to could modify the list of reg keys that got checked for the default mru display, and could even add reg keys from certain programs they wanted to show by default.
The idea being that they would be merged into the 'My Recent Documents' result list? Yes, that would be an idea. I was also thinking about a modifier that would list all of the configured applications mru files. I think that would serve the FARR filtering idea better.

Quote
The mru for acrobat is a bit different
I'll maybe look into it. Uh, that means I need to install Adobe Acrobat Reader, nooooo.

Quote
For your MRUing pleasure, here are some I got from my system
I'll add the ones you say they work and check out the others if I can.

Quote
I had to change the office MRUs to Office2003
Would you mind posting the Office 2003 registry paths here. I don't have Office 2003 installed but would like to add those.

Quote
btw many of the file extensions in the ComdDlg32\OpenSaveMRU key are very useful to me
These would actually already work in 0.1.0, provided your running Windows XP. Apart from mru registry entries of the form 'File 1', 'File 2', etc. I have also implemented the ones which use a MRUList value with a, b, c, etc. I haven't seen anything other than explorer use it though. And in Windows Vista Microsoft changed these to MRUListEx with no clear-text paths, but some binary data. Additionally, you would currently need to specify each registry key individually, i.e. something like:
[copy or print]
+explorer|Windows Explorer
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavelMRU\*
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavelMRU\doc
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavelMRU\xls
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavelMRU\zip
just as some examples, you would need to add all which are relevant to you. Obviously, it would be better if FARR MRU would scan everything underneath HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavelMRU\.

Quote
i did not manage to make it work for photoshop MRU
I have Photoshop Elements. I'll check it out.


Thanks for all your feedback and suggestions! I'm always open to more suggestions to make this plugin more useful.
Logged

mouser
First Author
Administrator
*****
Posts: 33,702



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #21 on: July 01, 2008, 02:52:27 PM »

Quote
The idea being that they would be merged into the 'My Recent Documents' result list? Yes, that would be an idea.

right, which would also let people who always wanted their office files shown in main mru list do that, and add any such entries to the main mru list.

Quote
I was also thinking about a modifier that would list all of the configured applications mru files. I think that would serve the FARR filtering idea better.
that would also be a good idea; you can do that by deteced when user types mrua
and return a result list like
mru office | restartsearch mru +office
mru foxit pdf reader| restartsearch mru +foxit
that essentially lets you make a menu of choices for the user that farr will present
Logged
Lashiec
Member
**
Posts: 2,374


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #22 on: July 01, 2008, 05:28:01 PM »

It's an interesting idea, and it will save a few clicks in the Start Menu. I'll try a few of the MRUs I use with CCleaner, and report back with the results. BTW, are you planning to add an interface to input new MRUs directly from the plugin config window?

czechboy: I'm afraid there's no way to add PSPad's MRUs as they're stored in a text file instead of the registry.
Logged
Lashiec
Member
**
Posts: 2,374


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #23 on: July 01, 2008, 06:23:13 PM »

Sorry for the double post, but it's less clutter for one post smiley

[copy or print]
;This can be used as a starting point to write one focused in the entire Office 2003 suite

+excel|Excel Viewer 2003
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel Viewer\Recent Files

;The Microsoft Management Console entry seems to change depending of your OS language, so adjust the "Microsoft Management Console" enclosed
;between \\ accordingly (in Spanish is "Consola de administración de Microsoft", for example)

+mmc|Microsoft Management Console
HKEY_CURRENT_USER\Software\Microsoft\Microsoft Management Console\Recent File List

+paint|Paint
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Paint\Recent File List

+ted|TED Notepad
HKEY_CURRENT_USER\Software\Medvedik\TedNPad5\Recent

+winrar|WinRAR
HKEY_CURRENT_USER\Software\WinRAR\ArcHistory

;An Amiga emulator, for those wondering

+winuae|WinUAE
HKEY_CURRENT_USER\Software\Arabuusimiehet\WinUAE\DiskImageMRUList

+wordpad|Wordpad
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Wordpad\Recent File List

Those which failed, for analysis of the author:

[copy or print]
;The text editor included with xplorer², I think it fails because of the "DocumentEntry" value at the end of the list

+editor2|editor²
HKEY_CURRENT_USER\Software\ZabaraKatranemia Plc\Editor2\Recent Document List

;It's a value, so it does not get anything, the MRU entries for Paint.NET are stored value by value, together with the rest of the configuration values for the program

+paintnet|Paint.NET
RegKey1=HKCU\Software\Paint.NET|MRU0

;Each line starts with "1," before the complete path to the file

+quicktime|QuickTime Player
HKEY_LOCAL_MACHINE\Software\Apple Computer, Inc.\QuickTime\Recent Movies

And that's it, there are not as many as I thought...
Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #24 on: July 01, 2008, 11:19:54 PM »

czechboy[/b]: I'm afraid there's no way to add PSPad's MRUs as they're stored in a text file instead of the registry.

it does not matter. I am switching to netbeans anyway since it has much higher level support for javascript Wink
Logged

My open-source online piano game: http://musicope.com/
Pages: [1] 2 3 4 Next   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.053s | Server load: 0.11 ]