Notetab Clip to Search Google For Term

Okay, I often search Google to find Notetab’s great Yahoogroups messages. I find the search utility in YahooGroups to be fairly limiting. Tonight RP Dooling — the author — suggested that a clip might be in order … and that got me to thinking. Here is the first in what could easily be a series of clips to search.

This one will limit its search to Yahoogroups that contain the word notetab, either the term you have highlighted when you select the clip, or in the alternative, it will prompt you for a search term to add. It then fires up Google an it is off to the races.

So here it is …
;*** Effort by Don Passenger
;*** don a-t htmlfixit d-o-t com
;*** discuss things live in chat at
;*** donations welcome at
;*** Search Google for Notetab Messages
;*** based on Utilities Library + RP Doolings Idea

; Clear variables
^!If ^$GetSelSize$ > 0 HaveSelection ELSE NoSelection

^!Set %SearchTerm%=^$GetSelection$
^!Goto TheSearch

^!Set %SearchTerm%=^?{Type in All Search Terms Separated by a Space}
^!Goto TheSearch

;replace all spaces in search term with +
^!Set %SearchTerm%=^$StrReplace(" ";"+";"^%SearchTerm%";0;0)$
;replace all quotes in search term with %22
^!Set %SearchTerm%=^$StrReplace(""";"%22";"^%SearchTerm%";0;0)$
;line 25 if no lines are wrapped

Leave a Reply

Recent Posts