topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday March 18, 2024, 11:44 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: FARR plugin: FARR Most Recently Used 1.0.0  (Read 94038 times)

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.4.0
« Reply #50 on: July 11, 2008, 11:15 AM »
phitsc: Looking at the config file, I found there were quite a few entries there. Maybe you could add one option in the plugin's main menu, that'd list all of those and would allow you to select it to see it's list?

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.4.0
« Reply #51 on: July 11, 2008, 11:22 AM »
phitsc: Looking at the config file, I found there were quite a few entries there. Maybe you could add one option in the plugin's main menu, that'd list all of those and would allow you to select it to see it's list?
Yes, a good idea as well. Listing the ones of applications actually installed would maybe be enough. It would mean hamradio would have to make me another icon though ;)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.4.0
« Reply #52 on: July 11, 2008, 12:20 PM »
you don't want to end up using a 50 character combo of keywords


this is where FARR's dosearch alias command comes in so handy.

let's say that you commonly want to execute a search in FARR like:
mrua +.cpp +.h +.def -bak -junk EXTRA KEYWORDS

then what you could do is create a new alias with regular expression:
mruq(.*)

and in results put
dosearch mrua +.cpp +.h +.def -bak -junk $$1

now you just type:
mruq
or
mruq EXTRA KEYWORDS

and it will behave as if you typed the whole long thing.

sosimple

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 25
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.4.0
« Reply #53 on: July 20, 2008, 01:44 PM »
Hello,

I am a new member ... what a great forum !!!

I have installed FARR and DC-Update, and now added MRU Plug-in.

I can't seem to make it work but I don't know it well enough yet to tell if my results are expected so I will play with it some more until I can reasonably tell what's not working ... right now I assume the error is probably BCK (between chair and keyboard).

I do have a question ...

Does anyone know where the MRU list of Open Windows Explorer Folders is kept. This is the list used by Windows Explorer: ->Tools->Folder Options->View->Advanced Settings (List)->Restore Previous Folder Windows At Logon. I've looked and done some searches but I can't find where it's stored.

Thanks for any help.

Kevin



phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.4.0
« Reply #54 on: July 21, 2008, 05:36 AM »
Hi Kevin

I can't seem to make it work but I don't know it well enough yet to tell if my results are expected so I will play with it some more until I can reasonably tell what's not working ... right now I assume the error is probably BCK (between chair and keyboard).
There really isn't much you could be doing wrong. Typing mrum should give you a list of documents recently accessed. If you open Windows Start Menu and then open the My Recent Documents menu and that menu isn't empty, then typing mrum in FARR should give you some results. Also typing mrup should give you some results, if you have used any of MS Paint, MS Office, Open Office, MS Visual Studio, Acrobat Reader, etc. recently. Do you actually get an empty list, or do you just not get the list you'd expect?

I do have a question ...

Does anyone know where the MRU list of Open Windows Explorer Folders is kept. This is the list used by Windows Explorer: ->Tools->Folder Options->View->Advanced Settings (List)->Restore Previous Folder Windows At Logon. I've looked and done some searches but I can't find where it's stored.
I don't know to be honest. I think Windows stores recent explorer window settings under
HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell
somehow, but I don't know in what form.

Philipp

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.4.0
« Reply #55 on: July 21, 2008, 05:42 AM »
make sure you actually really do have mru installed and enabled.
if you type "aplugins" you should see "FARR Most Recently Used Plugin" in the listing.
and typing mru should give you a nice menu of 4 choices no matter what.

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.4.0
« Reply #56 on: July 23, 2008, 02:36 AM »
I noticed that when you type mru to bring up the MRU menu and then select one of the items by moving down in the list with the arrow key and hitting enter everything works as expected. If I use one of the # keys however (e.g. keypad 2) the FARR input edit box text is just replaced by 'restartsearch mrup '. Anyone knows why this is?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.4.0
« Reply #57 on: July 23, 2008, 02:39 AM »
Anyone knows why this is?

oops.  this has to be considered a FARR bug. i will fix.

i may have misspoken.. is mru handling this case manually in an unusual way?
s.newwave and i will have to talk about why this is happening since it doesnt happen with normal aliases.
« Last Edit: July 23, 2008, 02:45 AM by mouser »

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.4.0
« Reply #58 on: July 23, 2008, 11:45 AM »
i may have misspoken.. is mru handling this case manually in an unusual way?
s.newwave and i will have to talk about why this is happening since it doesnt happen with normal aliases.
Hmm, don't know really if what I'm doing is unusual. In EFuncName_Request_ItemResultByIndex I set
- *entrytypep to E_EntryType_ALIAS
- destbuf_caption to e.g. "List only 'My Recent Documents'"
- destbuf_path to e.g. "restartsearch mrum"
- destbuf_groupname to e.g. "Alias mrum"
- destbuf_iconfilename to respective icon path
and that's it. Well, it is unusual in that respect as no one yet did that programatically instead of using an .alias file to do this, if I understood you correctly. I could change the menu to an .alias file but I have the same problem now with the 5th menu item that will list all supported and installed applications (also as a menu to further aliases), which gives the same problem. Implementing and testing this is why I actually noticed the described behaviour.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.4.0
« Reply #59 on: July 23, 2008, 12:14 PM »
try returning E_EntryType_ALIASFILE

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.4.0
« Reply #60 on: July 23, 2008, 12:32 PM »
try returning E_EntryType_ALIASFILE
That doesn't exist in my version of the SDK. What value would that have?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.4.0
« Reply #61 on: July 23, 2008, 12:34 PM »
7

i apologize for not putting up an updated sdk sooner, i will try to do so tonight.

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.4.0
« Reply #62 on: July 23, 2008, 12:54 PM »
7

i apologize for not putting up an updated sdk sooner, i will try to do so tonight.
Yeah, don't worry ;)

7 works!

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.5.0
« Reply #63 on: July 24, 2008, 12:34 PM »
0.5.0 is now available. This release adds support for .ini files. There's one provided as an example (see IcoFX in FarrMostRecentlyUsed.config).

TucknDar, you can try with SoftMaker Office suite if you want, it should work. The entry would be like:
INI_FILE\PathToIni.ini|tmw History|HistoryFile

If you find it working please tell me so I can add it to the FarrMostRecentlyUsed.config file.

This release also adds a new alias (mrul) that gives a list of installed (and supported) applications as suggested by jgpaiva. In the .config file it's now possible to specify a file path to the respective applications icon (usually the executable file). This icon is then displayed in FARR when the list is displayed. Since I don't have all these applications installed, I wasn't able to fill them all in. If anyone could provide me with the paths to the following application's icons (executables), that would be cool:
- Microsoft Office 2003
- KMPlayer
- SnagIt
- SQL Server
- TED Notepad
- WinRAR
- WinUAE
- Dreamweaver CS3

Philipp
« Last Edit: July 24, 2008, 01:11 PM by phitsc »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.5.0
« Reply #64 on: July 24, 2008, 12:38 PM »

The best just keeps getting better.

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.5.0
« Reply #65 on: July 24, 2008, 02:21 PM »
TucknDar, you can try with SoftMaker Office suite if you want, it should work. The entry would be like:
INI_FILE\PathToIni.ini|tmw History|HistoryFile

If you find it working please tell me so I can add it to the FarrMostRecentlyUsed.config file.
Unfortunately I can't get it working... I've tried putting it in the FarrMostRecentlyUsed.config file as well, just to check, but no. The FarrMostRecentlyUsed.user file didn't work for me with the previous version either, actually, sorry for not reporting this :-[

Everything else works as expected.

Another thing: Concerning the application icons, how will you approach the fact that we could have someting like Notepad++ installed in different locations? Not everyone uses the %PROGRAMFILES% and if we change this in FarrMostRecentlyUsed.config, won't that get overwritten with each new release?

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.5.0
« Reply #66 on: July 24, 2008, 02:29 PM »
TucknDar, you can try with SoftMaker Office suite if you want, it should work. The entry would be like:
INI_FILE\PathToIni.ini|tmw History|HistoryFile

If you find it working please tell me so I can add it to the FarrMostRecentlyUsed.config file.
Unfortunately I can't get it working... I've tried putting it in the FarrMostRecentlyUsed.config file as well, just to check, but no. The FarrMostRecentlyUsed.user file didn't work for me with the previous version either, actually, sorry for not reporting this :-[
Well, thanks for trying anyway. If you want you can send me the respective ini file and also the full path to that ini file and I'll check it out.

Another thing: Concerning the application icons, how will you approach the fact that we could have someting like Notepad++ installed in different locations? Not everyone uses the %PROGRAMFILES% and if we change this in FarrMostRecentlyUsed.config, won't that get overwritten with each new release?
To be honest, I was aware of that fact but just ignored it for now. One way I could handle it would be to let users duplicate an entry in their respective FarrMostRecentlyUsed.user file and let that have precedence over the .config file. But then the .user file would have to actually work ;)

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.5.0
« Reply #67 on: July 24, 2008, 02:37 PM »
TucknDar, you can try with SoftMaker Office suite if you want, it should work. The entry would be like:
INI_FILE\PathToIni.ini|tmw History|HistoryFile

If you find it working please tell me so I can add it to the FarrMostRecentlyUsed.config file.
Unfortunately I can't get it working... I've tried putting it in the FarrMostRecentlyUsed.config file as well, just to check, but no. The FarrMostRecentlyUsed.user file didn't work for me with the previous version either, actually, sorry for not reporting this :-[
Well, thanks for trying anyway. If you want you can send me the respective ini file and also the full path to that ini file and I'll check it out.
Sure, I can do that. Just give me your mail address (PM or "obfuscated" here) and I'll send.

Lashiec

  • Member
  • Joined in 2006
  • **
  • Posts: 2,374
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.5.0
« Reply #68 on: July 24, 2008, 05:08 PM »
Cool, I'll experiment with the .ini support later. As for the application paths:

  • TED Notepad: %programfiles%\TedNPad.exe
  • WinRAR: %programfiles%\WinRAR.exe
  • WinUAE: %programfiles%\winuae.exe

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.5.0
« Reply #69 on: July 24, 2008, 05:28 PM »
Just for the record: my problem was solved by phitsc :Thmbsup:

edit: Which means that the INI stuff works and the SoftMaker products can be added

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.5.0
« Reply #70 on: July 25, 2008, 02:34 AM »
  • TED Notepad: %programfiles%\TedNPad.exe
  • WinRAR: %programfiles%\WinRAR.exe
  • WinUAE: %programfiles%\winuae.exe
They're all installed directly into the Program Files folder by default?

herojoker

  • Participant
  • Joined in 2008
  • *
  • Posts: 124
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.5.0
« Reply #71 on: July 25, 2008, 06:26 AM »
I don't think so...

Lashiec

  • Member
  • Joined in 2006
  • **
  • Posts: 2,374
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.5.0
« Reply #72 on: July 25, 2008, 12:06 PM »
Errrrr, what an embarrassment, I forgot the subfolders :-[

  • TED Notepad: %programfiles%\TED Notepad\TedNPad.exe
  • WinRAR: %programfiles%\WinRAR\WinRAR.exe
  • WinUAE: %programfiles%\WinUAE\winuae.exe

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.5.0
« Reply #73 on: July 30, 2008, 05:02 AM »
Audacity: HKEY_CURRENT_USER\Software\Audacity\Audacity\RecentFiles
Akelpad: HKEY_CURRENT_USER\Software\Akelsoft\AkelPad\Recent

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: Updated plugin: FARR MostRecentlyUsed 0.5.1
« Reply #74 on: August 02, 2008, 05:13 PM »
0.5.1 is now available. This release is mainly to keep the forum alive, seems like everyone's gone on summer holidays ;)

I've added the stuff from the last two posts and made modifier entries in FarrMostRecentlyUsed.user override identical ones in FarrMostRecentlyUsed.config. This can be used for example if you choose to install an application in a location other than the default (e.g. not in the default 'Program Files' folder). Just duplicate the respective section in your FarrMostRecentlyUsed.user and change the icon path.