PC键盘上的Alt和Ctrl键之间的菜单键
您需要的一切/Shutterstock.com

Did you know your keyboard has a 菜单 key? On full-size keyboards, you’ll find it to the left of your right Ctrl key. This key opens context 菜单s, but you can tweak it to make it more useful.

哪里’键盘上的菜单键?

Position of the 菜单 key highlighted on a physical keyboard
ojovago / Shutterstock.com

On full-size keyboards, the 菜单 key is located between the right 视窗键 和 the right Ctrl key to the right of the Space bar. The 菜单 key is also sometimes called the “application key.”

一些较小的键盘—例如,笔记本电脑键盘—omit the 菜单 key to save space. Other smaller keyboards omit the right 视窗键 和 leave the 菜单 key between the right Alt 和 Ctrl keys.

无论哪种方式,如果您的键盘都有菜单键,’将在您右Ctrl键的左侧。它没有’t have the word “menu” printed on it—it has a little picture that looks like a 菜单. This picture isn’t standardized 和 will look different on different keyboards. Sometimes it shows a small pointer hovering above a 菜单 和 sometimes it looks like a stylized 菜单—一个正方形或矩形,里面有一些水平线。

什么’s the Menu Key For?

The 菜单 key opens a context 菜单 对于 your current application. It’基本上就像在应用程序中右键单击您的选择。

试试看—press the 菜单 key while viewing this web page 和 you’会看到您的网络浏览器’s context 菜单, just as if you had right-clicked on the page.

如果您不这样做,这很关键’没有鼠标或没有’t have a mouse with a right mouse button. It works in many different applications. If you select a file or folder in File 探索r 和 press the 菜单 key, you’ll see a context 菜单 just as if you had right-clicked on the file.

Context 菜单 open in File 探索r

This key makes it possible to use the context 菜单 with just the keyboard 和 without a mouse. Press the 菜单 key, use the arrow keys to select an option, 和 press Enter to activate it. 选择text or other elements with keyboard shortcuts 和 press the 菜单 key to activate context 菜单 options—所有这些都无需您的手离开键盘。

微软现在 谈论 将此密钥转换为Office密钥以匹配Windows密钥。大多数PC用户可能不会’触摸此键,这说明了Microsoft为什么放弃更改它的想法。它’有点像 Sys Rq,Scroll Lock和Pause Break键.

有关: 什么是我的键盘上的Sys Rq,滚动锁定和暂停中断键?

Shift + F10也可以像菜单键一样起作用

Shift和F10键在PC键盘上突出显示
ojovago / Shutterstock.com

如果您的键盘没有’t have a 菜单 key, but you want to open a context 菜单 with a keyboard shortcut, never fear. You can press Shift+F10 in most applications to open a context 菜单. It’s basically the same thing as the 菜单 key.

这不’不能在每个应用程序中工作—这取决于应用程序。如果应用程序没有任何反应’要重新使用,请尝试按Ctrl + Shift + F10。

如何重新映射菜单键

The 菜单 key isn’就像 视窗键, which can take you out of games 和 other full-screen applications if you accidentally press it. However, you may want to change the behavior of the 菜单 key 和 have it do something more useful. After all, that’如果您的主要键盘房地产将浪费’不使用密钥。

我们喜欢 夏普键 对于 快速将一个键重新映射到另一个键。您可以 重新映射Windows注册表中的键, 但它’更复杂。 夏普键提供了一个方便的图形界面,可为您自定义基础注册表值。

安装并启动SharpKeys后,单击“Add”按钮添加新的重新映射。

夏普键 window showing 加 button

选择“特殊:应用程序(E0_5D)”在左窗格中。您也可以点击“Type Key” 和 press the 菜单 key—正如我们上面提到的,’有时称为“application key,” as it is here.

In the right pane, select whatever key you want to remap the 菜单 key to. For example, you can choose “Web: Back”并且该密钥将在您的Web浏览器和任何其他支持此密钥的应用程序中用作后退密钥。

当你’re done, click “OK.”

Remapping the 菜单 key in 夏普键

请点击“Write to Registry”将您的更改写入Windows注册表。您’现在必须关闭SharpKeys窗口,然后重新启动PC或注销并重新登录。您的更改将在下次登录时生效。

如果要更改键的作用或撤消更改,请再次打开SharpKeys,选择规则,然后使用“Edit” or “Delete”按钮进行修改或删除。将所做的更改写入注册表,然后退出并再次登录。

写入注册表 button in 夏普键

您也可以使用SharpKeys重新分配其他键—例如,您可以将Caps Lock或Windows键用作其他键。

如何使用AutoHotkey自定义菜单键

有关更高级的自定义,我们建议 自动热键。您可以 使用AutoHotkey编写一个快速的小脚本 that will listen 对于 the 菜单 key 和 perform other actions when you press it. In 自动热键, this key is called the “AppsKey.”

For example, the following line in an 自动热键 script will disable the 菜单 key (“AppsKey”),并使其不执行任何操作(“Return”):

AppsKey::Return

This code in an 自动热键 script will listen 对于 the 菜单 key 和 launch Microsoft Word when you press it:

AppsKey::
Run WINWORD
return

Making the 菜单 key launch Word with an 自动热键 script

那里’s a good chance the 菜单 key will go away at some point. With keyboards still having Scroll Lock keys, however, there’s a good chance the 菜单 key will still be around 对于 decades to come.

有关: 如何编写一个AutoHotkey脚本

克里斯·霍夫曼 克里斯·霍夫曼
克里斯·霍夫曼(Chris Hoffman)是《 如何极客》首席编辑。他撰写了近十年的技术文章,并担任PCWorld专栏作家两年。克里斯曾为《纽约时报》撰稿,曾在迈阿密NBC 6等电视台接受过技术专家的采访,而他的工作也被BBC等新闻媒体报道。自2011年以来,克里斯撰写了2000多篇文章,被阅读了超过5亿次-而这就是How-To Geek的内容。
阅读完整的传记»

x

最好的技术通讯随处可见

加入 350,000位订阅者 并每天获取新闻,漫画,琐事,评论等的摘要。