桌面程序开发 热键_创建快捷方式或热键以打开或关闭桌面图标

桌面程序开发 热键

桌面程序开发 热键

image

If you’ve got loads of icons cluttering up your desktop, you might want a quick way to turn them off without using the context menu; here’s a quick and easy way to make a shortcut key to turn them on or off.

如果桌面上有大量的图标,您可能需要一种快速的方法来关闭它们而不使用上下文菜单; 这是制作快捷键以将其打开或关闭的快速简便的方法。

Note: this article was originally written a couple of years ago, but we tested it out on Windows 8, 8.1, and even Windows 10 to verify that it works and figured that we’d update and publish it again.

注意:本文最初是在几年前写的,但是我们在Windows 8、8.1甚至Windows 10上对其进行了测试,以验证其是否有效,并确定我们将再次对其进行更新和发布。

创建快捷方式以切换桌面图标 (Create a Shortcut to Toggle the Desktop Icons)

The solution comes through a small utility written by one of the Desktop Sidebar programmers (an alternate sidebar with loads of modules). Just so we’re clear, this utility does the same thing as a right-click on the desktop and toggling the “Show Desktop Icons” item.

该解决方案通过一个由桌面侧边栏程序员之一编写的小型实用程序(带有模块负载的备用侧边栏)编写。 可以很清楚地知道,该实用程序与右键单击桌面并切换“显示桌面图标”项的作用相同。

image

设置快捷方式 (Setting Up the Shortcut)

The first thing you’ll need to do is download the HideDesktopIcons application and save it somewhere other than the desktop, preferably somewhere where it won’t be deleted—you could put it under your Program Files folder if you wanted to.

您需要做的第一件事是下载HideDesktopIcons应用程序,并将其保存在桌面以外的其他位置,最好保存在不会删除的位置–如果需要,可以将其放在Program Files文件夹下。

image

If you’re using Windows 7, all you need to do is right-click on the file and choose Pin to Taskbar or Pin to Start Menu, depending on where you want it. We’ll put it on the Start Menu so we can assign a hotkey to it.

如果您使用的是Windows 7,则只需在文件上单击鼠标右键,然后根据所需位置选择“固定到任务栏”或“固定到开始菜单”。 我们将其放在“开始”菜单上,以便为它分配一个热键。

image

Still Using the Quick Launch Bar?

还在使用快速启动栏?

If you’re using a previous version of Windows and you’d like to put it on the Quick Launch bar, you can do that by opening up Explorer and typing the following into the address bar—just keep in mind that shortcuts on the Quick Launch bar don’t allow shortcut keys, so you’ll need to copy it to the Start Menu as well.

如果您使用的是Windows的早期版本,并且希望将其放在“快速启动”栏中,则可以通过打开资源管理器并在地址栏中输入以下内容来做到这一点-请记住,“快速”栏中的快捷方式启动栏不允许使用快捷键,因此您也需要将其复制到“开始”菜单。

shell:Quick Launch

外壳:快速启动

image

Now you have a shortcut that can be used for quick access…

现在,您有了可用于快速访问的快捷方式…

image

创建热键 (Creating the Hotkey)

To assign a hotkey, we’re going to assume that you’ve pinned the shortcut to the Start Menu. Go ahead and right-click on the shortcut in the Start Menu and choose Properties to assign a hotkey (I use Ctrl+Alt+D since it’s easy to remember).

要分配热键,我们将假定您已将快捷方式固定到“开始”菜单。 继续并右键单击“开始”菜单中的快捷方式,然后选择“属性”以分配热键(由于易于记忆,我使用Ctrl + Alt + D)。

image

Now you can access the desktop icons through a shortcut icon or shortcut key.

现在,您可以通过快捷方式图标或快捷键访问桌面图标。

Supporting Files (If Needed)

支持文件(如果需要)

If you get an error when you try to run this application, you probably need to have the Microsoft C++ runtime installed, which you can get get from the following link:

如果在尝试运行此应用程序时遇到错误,则可能需要安装Microsoft C ++运行时,可以从以下链接获取该运行时:

Microsoft Visual C++ 2005 Redistributable Package (x86)

Microsoft Visual C ++ 2005可再发行组件包(x86)

Download Application

下载申请书

Note: we normally wouldn’t host a download, but the original source appears to be gone.

注意:我们通常不会托管下载,但原始源似乎已消失。

Download HideDesktopIcons Application (How-To Geek Mirror Copy)

下载HideDesktopIcons应用程序(极客镜像副本)

翻译自: https://www.howtogeek.com/howto/windows-vista/create-a-shortcut-or-hotkey-to-turn-the-desktop-icons-on-or-off/

桌面程序开发 热键

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值