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 protected]>
To: Erg Consultant <[email protected]>
Cc: [email protected]
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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to