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 <eri...@apple.com>
To: Erg Consultant <erg_consult...@yahoo.com>
Cc: cocoa-dev@lists.apple.com
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 (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to