EG. Feature: search text in browser from lister context menu
Here is something I would like to have a context menu option in lister window to search the selected text with your default OS browser.
More generally it could be an option "send selection to XX" where the user could define XX as a browser or another program that can takes command line token for the selected text. In other words you:
In TC lister a new config item where I define a config for program to be launched
[OR SOME EQUIVALENT METHOD OF GETTING CONTEXT MENU ITEMS INSERTED]
1. select text in TC lister window
2. Right click choose either "send to Google Search" or "send to IMDB search" from context menu
Here is a long example of what made me think about using this.
I have been working on fixing some problems with a PC, so I have TC + " NT Events" FS plugin open on every TC startup. I view the event log error message then have to cut and paste into a browser to do research on what the error is about which is usually start with a Microsoft KB or Google search. It would be more elegant to have a "send to" in the lister.
Lister to view torrent file select hash string for a google search.
Does anyone know of a text editor that has a similar "send selection to user-application" feature?
If you are interested, more info here.
As for your suggestion to put such functionality to Lister, I don't know. I wouldn't mind having it, maybe I would even use it from time to time. But it would require a new configuration options in wincmd.ini and possibly in GUI as well.
Edit: Maybe this should be moved to Total Commander Polls forum.
Message from moderator
You may place a separate post in the suggestions forum and mention this poll.
Using TC 9.21a / Win7 x64 SP1, Win10 x64
I voted yes. A lister right click entry which invokes the default browser and passes the selected string(s) as a search term to the default search engine of the browser would be a convenient feature.
The extended version suggested by MVV would not only be convenient , but it would be luxury pure. - Would be an interesting challenge for me to build up such custom commands in such a way that they will work properly on Ubuntu and Mint.
Haß gleicht einer Krankheit, dem Miserere, wo man vorne herausgibt, was eigentlich hinten wegsollte. (Goethe)
2MVV, a more generic one would be even better than my initial suggestion.MVV wrote:It may be good to expand lister selection popup menu with custom commands. Wide-usage feature, not just browser search (who needs browser search will add corresponding items). E.g. parameters may include ones for inserting text or hex stream. Sometimes I miss hex stream copy feature.
Does anyone know if a wlx plugin can be built that implements a context menu. I am guessing the answer is no. I know the torrent.wlx has a MS IE context menu and so is probably using an activeX control - a bad choice for portability WINE+TC.
Contextmenu1=Search for selected text with Google|http://www.google.com/search?q=%s
It can also be used with programs and parameters eg:
Contextmenu1=Title|"c:\path with spaces\program.exe" parameters.
Of course it does not work in plugin view, since plugins (can) have their own context menu.