![mac opt](https://i-blog.csdnimg.cn/blog_migrate/561035dd2a94c46f5933127843ab317d.png)
mac opt
My favorite keyboard shortcut on OS X is “Hide Others”, which hides every other window except the currently focused one. It’s a great way to quickly clean up your desktop and focus on the task at hand. So how to get this for Windows?
在OS X上,我最喜欢的键盘快捷键是“隐藏其他”,它会隐藏除当前聚焦的窗口以外的所有其他窗口。 这是快速清理桌面并专注于手头任务的好方法。 那么如何在Windows上获得它呢?
The obvious choice to implement this functionality was to use AutoHotkey, but I simply didn’t have the time to figure it out myself… so I mentioned it to reader Shawn over instant message.
实现此功能的明显选择是使用AutoHotkey,但是我根本没有时间自己弄清楚它……因此我向读者Shawn在即时消息中提到了它。
About 15 minutes later, he’d come up with the solution, which I’m sharing for everybody.
大约15分钟后,他提出了解决方案,我正在与大家分享。
![image](https://i-blog.csdnimg.cn/blog_migrate/077d7a9d8f007ee63cb84e947ba0e6b0.png)
Usage
用法
To invoke: just use Win+Alt+H
调用:只需使用Win + Alt + H
The Windows version won’t have a menu item like the OS X screenshot above, but it does work nearly the same… because Windows doesn’t have a good method for hiding windows the way OS X does, this script just simply minimizes all the windows on the screen apart from the current one.
Windows版本没有上面的OS X屏幕截图这样的菜单项,但是它的工作原理几乎相同……因为Windows没有像OS X那样隐藏窗口的好方法,因此该脚本只是将所有内容最小化。屏幕上的窗口与当前窗口不同。
If you’d like to change the keyboard shortcut, you can easily do that by modifying the script.
如果您想更改键盘快捷键,则可以通过修改脚本轻松地做到这一点。
Installation
安装
You’ll need to have AutoHotkey installed, and then just double-click on the downloaded script file to start it.
您需要安装AutoHotkey,然后双击下载的脚本文件以启动它。
Download AutoHotkey from Autohotkey.com
Download Hide Others AutoHotkey Script
mac opt