Mac OS X - 没有菜单的应用程序? [英] Mac OS X - app without menu?
问题描述
我想建立一个应用程式,没有菜单栏,停靠图示,或坐在应用程式切换器中。基本上,它应该像Quicksilver:我通过一个全球热键,说从Safari活动,一个小窗口出现,但Safari不会失去活动,也不会有不同的菜单显示。我希望你明白我的意思...
I'd like to build an app that does not have a menubar, a dock icon, or sits in the app switcher. Basically, it should be like Quicksilver: I'd active it through a global hot key, say from Safari, and a little window appears, but Safari does not get inactive, neither does a different menubar show. I hope you understand what I mean...
我该怎么办?我可以防止dock图标,应用程序切换器,但我不知道如何可以防止其他应用程序变得不活动,当我的应用程序的窗口显示或我如何可以删除菜单。
How would I do that? I can prevent the dock icon, the app switcher, but I do not know how I can prevent the other apps from becoming inactive when my app's window shows or how I can remove the menu.
感谢任何提示!
推荐答案
尝试搜索 LSUIElement
。这应该给你所需要的所有信息。
Try searching for "LSUIElement
". That should give you all the information you need.
(具体来说,本页的文档)。
这篇关于Mac OS X - 没有菜单的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!