Re: an app that never quits
Re: an app that never quits
- Subject: Re: an app that never quits
- From: PCWiz <email@hidden>
- Date: Tue, 22 Sep 2009 22:36:07 -0600
There are few ways I know of that would make this possible. One way is
a daemon, which is started every time the computer starts (or possibly
when you log in). The daemon then runs in the background and provides
notifications when necessary. Another way this is possible (a more
commonly used and easier way) is just to set the app as an
LSUIElement. This is done by editing your apps Info.plist and adding
this key:
<key>LSUIElement</key>
<true />
An LSUIElement is almost like a background application, it has no Dock
icon and no menu bar, making it virtually invisible. The app can then
be set as a login item by the app installer so it runs when you log on.
Hope this helps
On 2009-09-22, at 10:30 PM, Erick Calder <email@hidden> wrote:
I had a thought: how do alarms work? the application (the Clock)
isn't running all the time, yet, 7am the alarm goes off... how did
the Clock get itself started (without my permission)? and if you
look at the alarms... there is no Clock window! it's just a message
of some kind... so how does that work and can I do the same thing?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden