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