;------------------------------------------------------------------; SelectoSurf; by mouser@donationcoder.com; see http://www.donationc...dex.php?topic=6714.0;; v1.1.0, Jan 25, 2008 - improved browser option, added split-line reconstruction, added about box; v1.0.2, Nov 10, 2006 - initial release;; Select plaintext in any program and hit the hotkey (ctrl+space); If the text looks like a url or website name (like donationcoder.com), it will be opened.; otherwise a google search will be conducted with the phrase.; urls will be cleaned of unnesc. punctuation and split-lines will be merged.;; Compiled exe and .ahk source script included.;------------------------------------------------------------------

There are a lot of scripts that do this kind of thing, but i still thought it would be nice to have another that people could customize.

Just select a url or something that looks like a url in any program and hit hotkey to open proper web page in browser.

ps.i use this constantly to open non-standard urls from mirc chat window, etc., because it does some cleanup of urls that other programs might not recognize as being a url. i welcome any further updates to the script to do more fixing of broken urls.

Just edited your script (took out all references to "browser") and the fox ran it beautifully.One other thing that you might want to include is Google Feeling Lucky I use this all the timehttp://www.google.co...Lucky&q=%theurl%Your %22's around the google search would not be optimal were you to include the feeling lucky search in your script. Also when you use the compiler thats bundled with AHK you can chose your icon file there (Currently only works with Compiled scripts)Just FYI

mouser, there's an anomaly with this script when using firefox as the default browser.. when i first highlight & press the hotkey, a new tab/window is opened but with the previous clipboard contents. only the 2nd time, the search is conducted with the selected text..