This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Feature: user definable commands on lister context menu

 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander Polls (English) Printable version
View previous topic :: View next topic  

Would you use this feature (search text in browser from lister context menu)?
Yes
63%
 63%  [ 12 ]
No
36%
 36%  [ 7 ]
Total Votes : 19

Author Message
SkipR
Junior Member
Junior Member


Joined: 27 Mar 2008
Posts: 48
Location: W. Australia

PostPosted: Sun May 12, 2013 4:37 am    Post subject: Feature: user definable commands on lister context menu Reply with quote

[Update 2014]: Please consider the poll as a vote for a more generic solution of user defined commands on the lister context menu. The following is an example of how it could be used.

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:

Config Setup:
In TC lister a new config item where I define a config for program to be launched
"Google search"="http://www.google.com.au/search?q=%s"
"IMDB search"="http://www.imdb.com/find?q=%s"
[OR SOME EQUIVALENT METHOD OF GETTING CONTEXT MENU ITEMS INSERTED]

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

Example2:
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?
_________________
Skip
Perth, AU


Last edited by SkipR on Sun Jan 12, 2014 5:12 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail
umbra
Power Member
Power Member


Joined: 14 Jan 2012
Posts: 783

PostPosted: Sun May 12, 2013 5:08 am    Post subject: Reply with quote

I don't know about other editors, but Notepad++ has such feature. You can define your own "Run commands" - either through GUI (Menu->Run->Run...) or directly by modifying "shortcuts.xml" file.
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.
_________________
Windows 7 Pro x64, Windows 8.1 Pro x64, Windows 10 Pro x64
Back to top
View user's profile Send private message Send e-mail
white
Power Member
Power Member


Joined: 19 Nov 2003
Posts: 2020
Location: Netherlands

PostPosted: Sun May 12, 2013 5:53 am    Post subject: Reply with quote

Moderation:
Moved from Suggestions forum to Polls forum.

White (moderator)


2SkipR:
You may place a separate post in the suggestions forum and mention this poll.


Last edited by white on Sun Jan 12, 2014 7:28 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 8053
Location: Russian Federation

PostPosted: Sun May 12, 2013 10:44 am    Post subject: Reply with quote

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.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35943
Location: Switzerland

PostPosted: Mon May 13, 2013 7:21 am    Post subject: Reply with quote

Sounds like a nice idea, although only 2 people have voted for it so far...
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Valentino
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 693
Location: Ukraine

PostPosted: Mon May 13, 2013 9:23 am    Post subject: Reply with quote

I voted Yes for expanded version suggested by MVV. As for original request I doubt I would use it.
Back to top
View user's profile Send private message Send e-mail
Flint
Power Member
Power Member


Joined: 27 Oct 2003
Posts: 3141
Location: Moscow, Russia

PostPosted: Mon May 13, 2013 1:12 pm    Post subject: Reply with quote

Answering to the question in the poll, I voted for No: I won't use Internet search from the Lister context menu. However, the idea of generalized (not Internet-search-specific) user-defined commands in this menu looks promising.
_________________
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
 
Using TC 9.20rc2 / Win7 x32 & x64 SP1
Back to top
View user's profile Send private message Send e-mail Visit poster's website
karlchen
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 4526
Location: Germany

PostPosted: Mon May 13, 2013 1:45 pm    Post subject: Reply with quote

Hi, folks.

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.

Cheers,
Karl
_________________
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Back to top
View user's profile Send private message Send e-mail
umbra
Power Member
Power Member


Joined: 14 Jan 2012
Posts: 783

PostPosted: Wed May 15, 2013 11:25 am    Post subject: Reply with quote

If I had to decide, I would vote yes for the extended version (ala Notepad++).
_________________
Windows 7 Pro x64, Windows 8.1 Pro x64, Windows 10 Pro x64
Back to top
View user's profile Send private message Send e-mail
SkipR
Junior Member
Junior Member


Joined: 27 Mar 2008
Posts: 48
Location: W. Australia

PostPosted: Sun Jan 12, 2014 4:51 am    Post subject: Reply with quote

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.


2MVV, a more generic one would be even better than my initial suggestion. Very Happy

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.
_________________
Skip
Perth, AU
Back to top
View user's profile Send private message Send e-mail
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 8053
Location: Russian Federation

PostPosted: Sun Jan 12, 2014 4:58 am    Post subject: Reply with quote

Imagine has context menu.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7851
Location: Valsted, Denmark

PostPosted: Sun Jan 12, 2014 10:58 am    Post subject: Reply with quote

FYI it is already implemented in TC 8.50:

Help:

[Lister]
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.
_________________
#524
Danish Total Commander Translator
TC 9.20 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.91b3 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander Polls (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group