Re: Faceless Background Application
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