Page 1 of 1

Lister: use selection as an URL

Posted: 2017-11-16, 09:46 UTC
by browny
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.

Posted: 2017-11-17, 05:02 UTC
by Gral
Already possible.
Just add similar text to your main INI file under [Lister] section.

Code: Select all

Contextmenu1=Open in default browser|http://%s
You can also define many browsers, e.g.

Code: Select all

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

Posted: 2017-11-17, 13:08 UTC
by browny

Code: Select all

Contextmenu2=Open in default browser|%s
This line did precisely what was requested.
Thanks, Gral.