Re: Hiding process list app icon for GUI apps
Re: Hiding process list app icon for GUI apps
- Subject: Re: Hiding process list app icon for GUI apps
- From: Erg Consultant <email@hidden>
- Date: Thu, 28 May 2009 22:28:01 -0700 (PDT)
Oddly it worked. I set LSUIElement in the Info.plist and the app UI works without the Dock or task list icon.
However, doing that caused another weird problem - now my app launches multiple instances of itself every time I double-click it. Remove the LSUIElement key and that behavior goes away.
I think the runtime stuff on OS X was never really ready for prime-time.
Erg
________________________________
From: Eric Schlegel <email@hidden>
To: Erg Consultant <email@hidden>
Cc: email@hidden
Sent: Thursday, May 28, 2009 10:10:36 PM
Subject: Re: Hiding process list app icon for GUI apps
On May 28, 2009, at 6:31 PM, Erg Consultant wrote:
> That is exactly what I want - my app is a standard Cocoa app with a few windows and a menu bar but it's used to launch other apps - so I don't want it showing up in the Command-Tab switch list, the Dock, or the Force Quit window. Mainly, I need my windows and menubar to still be visible.
Unfortunately that means that LSUIElement is _not_ what you want, because a UIElement app can't have a menubar.
In short, if you have a menubar, you will have a Dock tile. If you don't want a Dock tile, you can't have a menubar. The two are bound together.
-eric
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden