mIRC Homepage
Posted By: TCWeasel Word(s) highlight to google - 28/10/05 03:51 PM
I'd like to see the ability to highlight a word or words within a chat window and then launch a google search of those terms.
Posted By: Riamus2 Re: Word(s) highlight to google - 28/10/05 04:35 PM
There is a google search script at http://www.mircscripts.org/ though I doubt it works by highlighting.
Posted By: Om3n Re: Word(s) highlight to google - 29/10/05 04:48 PM
You could create an f key alias, that does something like
Code:
/run http://www.google.com.au/search?hl=en&q=clipboard+contents+with+space+replaced+with+pluses+and+punctuation+removed

You can use $cb / $cb(n) to reference the clipboard contents.. from help file.

Code:
$cb
Returns the first 256 characters of the clipboard contents.

$cb(N)
Returns $crlf delimited lines from text currently in the clipboard.

Properties: len

$cb(0)		returns the number of lines in the clipboard
$cb(0).len	return the total length of all lines in the clipboard
$cb(1)		returns line 1 from the clipboard
$cb(1).len	returns the length of line 1


Then you would just highlight something, and press the f key you assigned.
Posted By: Mpdreamz Re: Word(s) highlight to google - 29/10/05 07:52 PM
nice idea , that would work smile but dont you mean highlight/ctrl+c/f-key ?
Posted By: starbucks_mafia Re: Word(s) highlight to google - 29/10/05 10:33 PM
mIRC's windows copy whatever's highlighted regardless of pressing Ctrl+C.
Posted By: Mpdreamz Re: Word(s) highlight to google - 31/10/05 01:07 PM
cool smile wasnt aware of that.
Posted By: Om3n Re: Word(s) highlight to google - 01/11/05 09:01 AM
Indeed, mIRC uses auto-copy, which is why the selection is lost as soon as the mouse button is depressed.
© mIRC Discussion Forums