• 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: Regarding launching an application at startup of mac.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Regarding launching an application at startup of mac.
      • From: "Amit Jain" <email@hidden>
References: 
 >Regarding launching an application at startup of mac. (From: "Amit Jain" <email@hidden>)
 >Re: Regarding launching an application at startup of mac. (From: "Sean McBride" <email@hidden>)
 >Re: Regarding launching an application at startup of mac. (From: "Amit Jain" <email@hidden>)

  • Prev by Date: Column Justification and mouse down
  • Next by Date: Re: Core data confused
  • Previous by thread: Re: Regarding launching an application at startup of mac.
  • Next by thread: Re: Regarding launching an application at startup of mac.
  • Index(es):
    • Date
    • Thread