• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSBGOnly, NSUIElement & Co.?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBGOnly, NSUIElement & Co.?


  • Subject: NSBGOnly, NSUIElement & Co.?
  • From: petite_abeille <email@hidden>
  • Date: Mon, 29 Sep 2003 12:59:26 +0200

Hello,

I have a litlle app which only purpose in life is to add a NSStatusItem to the NSStatusBar... yes, I know: duh...

In any case, I would like to "hide" this application from the dock and other application listing... because, well, there is no point to bother them which such trivial app...

What's the "official" way to hide such utility app?

The mailing list refers to a mysterious NSUIElement or NSBGOnly property... but for some reason I cannot track down the relevant documentation... where is that documented?

Alternatively, NSWorkspace provides this handy method:

- (BOOL)launchApplication:(NSString *)appName showIcon:(BOOL)showIcon autolaunch:(BOOL)autolaunch;

Which would be perfect if it was working as advertised... but showIcon: NO doesn't seems to have the desired effect... am I misunderstanding what this method is about?

Thanks.

Cheers,

PA.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSBGOnly, NSUIElement & Co.?
      • From: "Alastair J.Houghton" <email@hidden>
  • Prev by Date: Re: Reading .doc files
  • Next by Date: Re: NSBGOnly, NSUIElement & Co.?
  • Previous by thread: NSPreferencePane display name?
  • Next by thread: Re: NSBGOnly, NSUIElement & Co.?
  • Index(es):
    • Date
    • Thread