Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发 UWP 屏幕录像机,我需要一个仅启动应用程序的全局快捷方式(键盘热键),因此我需要一个从启动时运行的后台进程,允许我随时启动应用程序。我不需要执行任何应用内操作。我可以在 uwp 应用程序中找到一些关于全局快捷方式的教程,但它们仅指应用程序内操作,并且 Win32 进程不会在应用程序关闭时运行,所以我不知道如何处理我的应用程序。
Stefan Wick(来自 MSFT)有一篇关于如何做到这一点的详细博客文章。
正如他在博文末尾提到的,另一个 SO 线程是灵感: