自定义 Windows 7 开始菜单搜索提供程序

发布于 2024-08-03 08:29:05 字数 364 浏览 8 评论 0原文

我想编写用于开始菜单搜索的自定义提供程序,但我似乎找不到从哪里开始。

当我在开始菜单上的搜索框中键入“thomas”并看到“IM Thomas”时,我希望能够执行的操作

  • (如果存在名称为 Pidgin/whatever-IM-client-with-API 联系人)匹配)
  • 以盎司为单位)”并看到“256”
  • 输入“=1+2*3”并看到“7”,或“=2加仑( 开始菜单。这对于自定义应用程序特别有用,让我们的用户输入“订单 XYZ”,这将在应用程序中搜索订单并让用户从开始菜单打开它们。

我并不是在寻找一个工具来为我做到这一点。相反,我想找到有关编写自定义搜索结果提供程序的任何文档,最好是用 C# 编写。

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#.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

我早已燃尽 2024-08-10 08:29:06

我相信您正在寻找适用于 .NET 的 Windows 7 API 代码包

与此相关的是,您可以将各种搜索添加到 Windows 资源管理器中的收藏夹中。查看 Windows 7 搜索联合提供商

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.

瑕疵 2024-08-10 08:29:06

Scott Hanselman 的博客介绍了如何通过创建 .osdx 创建简单的搜索连接器 文件,它们是 XML 文件,用于配置要使用搜索词调用的 URL。然后,他展示了如何通过向注册表添加条目来从开始菜单本身启用这些连接器。

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.

沙沙粒小 2024-08-10 08:29:06

您可能想研究一下 SlickRun 搜索栏替代/替换。虽然我不认为它可以代替实际的开始菜单搜索,但访问他们的网站并参与其中可能会让您更接近您想去的地方。

据我所知,您描述的功能可能已经是一个选项。

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.

小巷里的女流氓 2024-08-10 08:29:06

我刚刚发现 Start++,它具有插件支持(它似乎使用 JavaScript 和 Windows 脚本主持人)。

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文