• 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
Re: Faceless Background Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Faceless Background Application


  • Subject: Re: Faceless Background Application
  • From: Andy <email@hidden>
  • Date: Tue, 15 Jan 2002 20:37:04 -0500

Lisa Zorn wrote:
>
> Hello all,
>
> I've seen mentions of aspects of this, but after trying to guess a
> complete answer and having nothing work --
>
> I am trying to make a Faceless Background Cocoa application (my main
> class is in java, if that's relevant). I would like to be able to make
> cocoa calls (i.e. access NSApplication and NSBundle methods) but I have
> not been able to figure out how to do this while making sure that the
> application remains a daemon.
>
> I've found references to the properties LSBackground only and
> NSUIElements which imply that these could be helpful but I don't know
> explicitly what these things do and experimenting with setting these
> values has gotten me nowhere -- I can either get a daemon which can't
> make the cocoa calls, or I the app is not a daemon.
>

Java might be a factor. Its certainly true for regular Java apps that if
they interact with the GUI at all they will get a dock icon and not be faceless.

Its possible some part of the bridge between Java and Cocoa triggers
this same effect, even if you are not yourself using the GUI.

However I don't know that this is your problem. It may be a red herring...

--
AndyT (lordpixel - the cat who walks through walls)
A little bigger on the inside

I think we finally found the killer app for Flash: animated stick men


References: 
 >Faceless Background Application (From: Lisa Zorn <email@hidden>)

  • Prev by Date: Learning Objective C/Cocoa
  • Next by Date: Re: Tips on Reading TFM?
  • Previous by thread: Re: Faceless Background Application
  • Next by thread: Sub-pixel text placement
  • Index(es):
    • Date
    • Thread