ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Find And Run Robot

[feature request] Customizeable context menu and score formula

(1/2) > >>

vitalyb:
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!

ecaradec:
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.

--- End quote ---
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 :)

vitalyb:
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.

mouser:
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. ([email protected])
 

ecaradec:
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.
--- End quote ---
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 :).
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

Navigation

[0] Message Index

[#] Next page

Go to full version