Welcome Guest.   Make a donation to an author on the site August 30, 2014, 11:25:10 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]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: [feature request] Customizeable context menu and score formula  (Read 5013 times)
vitalyb
Supporting Member
**
Posts: 141



see users location on a map View Profile Give some DonationCredits to this forum member
« on: December 25, 2007, 04:50:27 AM »

1) It would be really useful to plugin developers if you we could customize the context menu (per item and globally). For example, in FARRAltTab plugin you could right click a tab and select "Close" or "Close Process". Really lots of options there.

2) I'd like to be able to see on a single item in results how it got its result. When so many rules and heuristics and histories and special folders, I am sometimes very confused about the score. It would be really nice if I could do Rightclick->Show score formula and get in result something like:

*] Raw plugin score: 300
*] Special folder score: +15 = 315
*] Heauristics bonus (shorter file): +25 = 240

Thanks and keep it up!
Logged
ecaradec
Honorary Member
**
Posts: 408



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: December 25, 2007, 11:02:10 AM »

Quote
1) It would be really useful to plugin developers if you we could customize the context menu (per item and globally). For example, in FARRAltTab plugin you could right click a tab and select "Close" or "Close Process". Really lots of options there.
I think this is the contextual action that is really the key thing here.

Its a bit different approach but you could get a similar behavior by testing the form of your query in your plugin and returning differents results depending of its form.
If the query match : "tab .* >" return the possible actions being "close" or "close process"
Else if the query match : "tab .*" then output windows title
'>' is the important part in the syntax because it introduce a different part in the query. Any character could be used, and differents characters could be used to separate different part in a query.

To make it work well with the autocompletion you should set the path to each window to something like "tab explorer > close" of "tab explorer > close process" with a type being ALIAS. That way when you use tab to complete the action it will nicely complete to "tab explorer >". Does it make sense ?

It would look better integrated into FARR IHMO.

Manu - Contextual action infected smiley
Logged

Blog & Projects : Blog | Qatapult | SwiffOut | FScript
vitalyb
Supporting Member
**
Posts: 141



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #2 on: December 25, 2007, 11:44:17 AM »

Very true. I could emulate it from command line (and it has lots of merits to it too as then, for example, you could programatically call to it from another plugin simply by setting the search query to the command path). However, a context menu could make the operation somewhat easier to the end user.

I think it is quite easy to combine the two by making the contextual menu change the search query. E.g if you selcect "iTunes" a tab and choose in context menu "Close" it'd set the search path to: "tab iTunes close". Something along these lines.
Logged
mouser
First Author
Administrator
*****
Posts: 33,288



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: December 25, 2007, 11:47:04 AM »

I agree completely with you guys about custom context menus, especially for plugins.
Now that people are really making plugins i need to put this at higher priority.

I am absolutely committed to adding the features you plugin writers want to make your plugins better, so please do not hesitate to make requests.  You might even email me directly as well, so that we can keep in touch and make sure i don't forget, etc. (mouser@donationcoder.com)
 
Logged
ecaradec
Honorary Member
**
Posts: 408



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: December 25, 2007, 11:54:59 AM »

Quote
E.g if you selcect "iTunes" a tab and choose in context menu "Close" it'd set the search path to: "tab iTunes close". Something along these lines.
Yes having booth would be great.
Currently I'm pressing <context menu key> then <m> to get the system menu which I can customize with regedit... but its probably not very end user smiley.
It recall me that I wanted to ask if the system context menu could be opened at the same place as the FARR context menu. Currently it open at the mouse position, which is not very nice when you opened it from keyboard ?

Manu
Logged

Blog & Projects : Blog | Qatapult | SwiffOut | FScript
mouser
First Author
Administrator
*****
Posts: 33,288



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

Quote
1) It would be really useful to plugin developers if you we could customize the context menu (per item and globally)

this has now been implemented; just waiting to talk with plugin writers about adding any needed api functions to support this.

in addition to custom context menus for items, plugins can now create custom statusbar icon buttons.
Logged
Pages: [1]   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.028s | Server load: 0.23 ]