views:

379

answers:

4

I'd like to write custom providers for start menu searching, but I can't seem to find where to begin.

Things I'd like to be able to do when I type in the search box on the start menu

  • Type "thomas" and see "IM Thomas" (if a Pidgin/whatever-IM-client-with-API contact exists with the name match)
  • Type "=1+2*3" and see "7", or "=2 gallons in ounces" and see "256"
  • Anything else I can think up where I have a store of custom data results that could be launched from the start menu. This would be especially useful for custom applications, letting our users type "order XYZ", which would search orders in the application and let the user open them from the start menu.

I'm not looking for a tool to do this for me. Rather, I'd like to find any documentation on writing custom search result providers, ideally in C#.

+3  A: 

I believe you are looking for the Windows 7 API Code Pack for .NET.

On a related note, you can add all kinds of searches to your favourites in Windows Explorer. Check out Windows 7 Search Federation Providers.

RedFilter
A: 

You might want to look into SlickRun a search bar alternate/replacement. While I dont think it can be put in the place of the actual start menu search, going to thier site and getting involved will probably get you a lot closer to where you want to go.

For all I know, the functionality you describe may already be an option.

Neil N
SlickRun, FindAndRunRobot, and various other launchers support similar behavior, yes. But I'm looking to build something in, rather than replace.
Thomas G. Mayfield
A: 

I just discovered Start++, which has plug-in support (it appears to use JavaScript with Windows Scripting Host).

Olivier Dagenais
A: 

Scott Hanselman's blog covers how to create a simple search connector by creating .osdx files, which are XML files that configure which URL(s) to invoke with the search terms. He then shows how to enable those connectors from within the start menu itself by adding entries to the registry.

Olivier Dagenais