Jon Box's Weblog

 


.NET Articles by the Atomic group

MSDN RDs









Subscribe to "Jon Box's Weblog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 

 

  Sunday, August 01, 2004


Sometimes while I'm talking to someone and I jump into IE to do a search, spectators are shocked when I type "g someterm" into the IE address bar and get a Google search.  I actually have several setup.  Here is the list:

g ==> Google search
gg ==> Google Groups search 
ggmc ==> Google Groups search in the ASP.NET Mobile Controls newsgroup
ggcf ==> Google Groups search in the .NET Compact Framework newsgroup

Obviously, there are a million-and-one ways this could be used.  But these are the main activities that I use it for. 

So, how do I set this up?  It's easy.  First, do a search for "IE" and "SearchUrl".  The latter term is part of the registry key that allows one to create IE "command shortcuts".  This is a good article on the subject and shows several examples.  Below is an example of my "g" command (done in a .REG file, since this is where I keep them for new machine setup):

[ H K E Y _ C U R R E N T _ U S E R S o f t w a r e M i c r o s o f t I n t e r n e t E x p l o r e r S e a r c h U r l g ]
@ = " h t t p : / / w w w . g o o g l e . c o m / s e a r c h ? h l = e n & q = % s "
" " = " + "
" + " = " % 2 B "
" % " = " % 2 5 "
" & " = " % 2 6 "

This defines a "g" command that calls the Google web site, fills Google's "q" parameter with additional parameters typed in the textbox, translates any needed encoding, and filters it to English text sites with the Google's "hl" parameter.  Along with a little knowledge of the web site's URL and parameters, this above information should be enough to get you going for most IE command shortcuts.


5:46:21 PM    comment []


Click here to visit the Radio UserLand website. © Copyright 2004 Jon Box.
Last update: 9/1/2004; 12:12:03 AM.

August 2004
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Jul   Sep