Welcome Guest.   Make a donation to an author on the site July 24, 2014, 10:24:08 AM  *

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.
 
View the new Member Awards and Badges page.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 2 [3] 4 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: FARR plugin: FARR Most Recently Used 1.0.0  (Read 40289 times)
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #50 on: July 11, 2008, 11:15:50 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?
Logged

phitsc
Honorary Member
**
Posts: 977



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #51 on: July 11, 2008, 11:22:05 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 Wink
Logged

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



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

Quote
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:
[copy or print]
mruq(.*)

and in results put
[copy or print]
dosearch mrua +.cpp +.h +.def -bak -junk $$1

now you just type:
or
[copy or print]
mruq EXTRA KEYWORDS

and it will behave as if you typed the whole long thing.
Logged
sosimple
Supporting Member
**
Posts: 23


View Profile Give some DonationCredits to this forum member
« Reply #53 on: July 20, 2008, 01:44:36 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


Logged
phitsc
Honorary Member
**
Posts: 977



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #54 on: July 21, 2008, 05:36:03 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
Logged

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



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #55 on: July 21, 2008, 05:42:08 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.
Logged
phitsc
Honorary Member
**
Posts: 977



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #56 on: July 23, 2008, 02:36:56 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?
Logged

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



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

Quote
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:30 AM by mouser » Logged
phitsc
Honorary Member
**
Posts: 977



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #58 on: July 23, 2008, 11:45:48 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.
Logged

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



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #59 on: July 23, 2008, 12:14:06 PM »

try returning E_EntryType_ALIASFILE
Logged
phitsc
Honorary Member
**
Posts: 977



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #60 on: July 23, 2008, 12:32:47 PM »

try returning E_EntryType_ALIASFILE
That doesn't exist in my version of the SDK. What value would that have?
Logged

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



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

7

i apologize for not putting up an updated sdk sooner, i will try to do so tonight.
Logged
phitsc
Honorary Member
**
Posts: 977



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #62 on: July 23, 2008, 12:54:05 PM »

7

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

7 works!
Logged

phitsc
Honorary Member
**
Posts: 977



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #63 on: July 24, 2008, 12:34:13 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:04 PM by phitsc » Logged

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



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #64 on: July 24, 2008, 12:38:47 PM »


The best just keeps getting better.
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 #65 on: July 24, 2008, 02:21: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 embarassed

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?
Logged
phitsc
Honorary Member
**
Posts: 977



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #66 on: July 24, 2008, 02:29:46 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 embarassed
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 Wink
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 #67 on: July 24, 2008, 02:37:35 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 embarassed
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.
Logged
Lashiec
Member
**
Posts: 2,374


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #68 on: July 24, 2008, 05:08:35 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
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 #69 on: July 24, 2008, 05:28:49 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
Logged
phitsc
Honorary Member
**
Posts: 977



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #70 on: July 25, 2008, 02:34:30 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?
Logged

herojoker
Participant
*
Posts: 124


View Profile Give some DonationCredits to this forum member
« Reply #71 on: July 25, 2008, 06:26:13 AM »

I don't think so...
Logged
Lashiec
Member
**
Posts: 2,374


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #72 on: July 25, 2008, 12:06:28 PM »

Errrrr, what an embarrassment, I forgot the subfolders embarassed

  • TED Notepad: %programfiles%\TED Notepad\TedNPad.exe
  • WinRAR: %programfiles%\WinRAR\WinRAR.exe
  • WinUAE: %programfiles%\WinUAE\winuae.exe
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 #73 on: July 30, 2008, 05:02:23 AM »

Audacity: HKEY_CURRENT_USER\Software\Audacity\Audacity\RecentFiles
Akelpad: HKEY_CURRENT_USER\Software\Akelsoft\AkelPad\Recent
Logged
phitsc
Honorary Member
**
Posts: 977



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #74 on: August 02, 2008, 05:13:02 PM »

0.5.1 is now available. This release is mainly to keep the forum alive, seems like everyone's gone on summer holidays Wink

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.
Logged

Pages: Prev 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.051s | Server load: 0.23 ]