以编程方式显示桌面?
在 Windows 中,按 Windows-D 将显示桌面。如何在 OS X 中实现这一点?
In Windows, pressing Windows-D will show the desktop. How to implement that in for OS X?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这将隐藏除发件人之外的所有其他应用程序。
文档链接:
https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSWorkspace_Class/Reference/Reference.html#//apple_ref/doc/uid/20000391-hideOtherApplications
This will hide all other applications than the sender.
Link to documentation:
https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSWorkspace_Class/Reference/Reference.html#//apple_ref/doc/uid/20000391-hideOtherApplications
如果你想以编程方式触发 Exposé,这里有一个博客,似乎是唯一可用的路径: 触发仪表板、Exposé 和 Spaces 这是一个沿着这条路径走下去的 SO 问题:calling-app-expose-in-lion
另一个解决方案是这个问题: expose-effect-in-a-mac-application 这可能是更好的做事方式
If you want to programatically trigger Exposé here is a blog that seems to go down the only usable path: Triggering Dashboard, Exposé and Spaces Here is a SO question that goes down this path: calling-app-expose-in-lion
Another solution is this SO question: expose-effect-in-a-mac-application which may be a better way of doing things