Re: Regarding launching an application at startup of mac.
Re: Regarding launching an application at startup of mac.
- Subject: Re: Regarding launching an application at startup of mac.
- From: "Sean McBride" <email@hidden>
- Date: Fri, 19 Jan 2007 10:10:58 -0500
- Organization: Rogue Research
On 2007-01-19 12:53, Amit Jain said:
>Actually there r two applications one is main and another is this one
>which has a transperent window and kept over main application on dock.
>Now i need is to launch this application whenever user starts up mac
>or login to account. And thats why i need that the user shud not
>remove this application.
Well, since this application uses the Window Server, it is an 'agent'
not a 'daemon'.
>Ya i have read this and added my helper application so that it can be
>launched thru launchd.And it worked as i need but one more problem i
>am facing is that it only launches on startup of mac not when i logoff
>and again login. Can u suggest me some property like i have tried for
>RunAtLoad and onDemand but it behaves in same way.Thanks for any help.
I've never used launchd, but I believe it is only for daemons, not
agents. You need to put your app in login items I'm afraid. You can
have you other app check if your agent is still in the login items, and
if not, it can re-add it.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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