Custom Internet Explorer search commands.

Discussion in 'Windows Desktop Systems' started by Kevin Ar18, Feb 14, 2002.

  1. Kevin Ar18

    Kevin Ar18 OSNN Senior Addict

    Messages:
    300
    In tweakui in the Power Toys there is an option to make custom search commands in internet explorer.

    for example I made it so if I typed the following:
    "g windows xp", then it would open google with all the search results for windows xp

    Well, I've done factory reinstall of my system and I'm a little afraid to use the power toys now as I don't know if they messed up my system. so.... can someone tell me how to edit the registry PROPERLY to do the same thing?
     
  2. AmarSingh

    AmarSingh Guest

    not sure if this will work, but give it a shot

    go to hkcu\software\microsoft\internet explorer\searchUrl and make a new key under that called whatever you want the prefix to be (ie "g"). set the default value to http://www.google.com/search?hl=en&q=%s . Then you have to make four more string values under that key.

    one with no name and value "+" without the quotes
    one with name "%" and value "%25"
    one with name "&" and value "&26"
    and one with name "+" and value "%2B"

    then restart your machine and test it out
     
  3. Kevin Ar18

    Kevin Ar18 OSNN Senior Addict

    Messages:
    300
    Thanks, that is what I needed.

    And BTW, the part where you said:
    one with no name and value "+" without the quotes

    Is actually space for the name

    What it's doing is whenever it encouters a space it inserts a + sign like this

    Say you type in : g windows xp
    it becomes: windows+xp
    so it can fit into the URL properly like so:
    http://www.google.com/search?hl=en&q=[b]windows+xp[/b]