This forum uses cookies. Click X button to hide this message. What is stored? 
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 

Lister: use selection as an URL

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) Printable version
View previous topic :: View next topic  
Author Message
browny
Member
Member


Joined: 10 Sep 2007
Posts: 122

PostPosted: Thu Nov 16, 2017 3:46 am    Post subject: Lister: use selection as an URL Reply with quote

There is already a nice option to search for a selected text in Google.
A natural addition would be to go directly to the address in selection.
The selection does not need to be parsed for http:// and the like, because quite often URL might be given as www.site.com or even site.org, but a browser still could open that page.
Back to top
View user's profile Send private message
Gral
Power Member
Power Member


Joined: 26 Jan 2005
Posts: 520

PostPosted: Thu Nov 16, 2017 11:02 pm    Post subject: Reply with quote

Already possible.
Just add similar text to your main INI file under [Lister] section.
Code:
Contextmenu1=Open in default browser|http://%s


You can also define many browsers, e.g.
Code:
ContextMenu2=Open in Opera|"C:\Program Files\Opera\Opera.exe" %s
ContextMenu3=Open in Firefox|"C:\Program Files\Mozilla Firefox\firefox.exe" %s
ContextMenu4=Open in Internet Explorer|"C:\Program Files\Internet Explorer\IEXPLORE.EXE" %s
Back to top
View user's profile Send private message
browny
Member
Member


Joined: 10 Sep 2007
Posts: 122

PostPosted: Fri Nov 17, 2017 7:08 am    Post subject: Reply with quote

Code:
Contextmenu2=Open in default browser|%s

This line did precisely what was requested.
Thanks, Gral.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (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


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group