• 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: "Amit Jain" <email@hidden>
  • Date: Wed, 24 Jan 2007 17:37:09 +0530

Thanks Ryan,
I have done the same thing as u suggested and it worked.I added my
application path into /Library/Preferences/loginwindow.plist but
programmatically i am facing some problem as loginwindow.plist file is
having its owner as root.Can you suggest me or provide me some code so that
i can write my app path into the file and then revert the owner as root.
Thanks...
@mit...

On 1/21/07, Ryan McGann <email@hidden> wrote:

> I have done every thing i.e. now i can launch the appplication thru > launchd > as launchAgents but the only problem i am facing now is that this > application is not launched when i log off and login again with > same user. I > get this error : > CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 > (0x44f), port = > 0x3303, name = 'com.yourcompany.iTunesDroper.ServiceProvider' > See /usr/include/servers/bootstrap_defs.h for the error codes. LaunchAgents are broken in Tiger. They have a variety of errors, including the one you're seeing. I believe Apple has promised to fix them in Leopard but I agree it's quite frustrating. In Tiger you must use LoginItems.

To add your application as a loginitem, look in /Library/Preferences/
loginwindow.plist. You'll need to add a dictionary to the array of
dictionaries in there. The plist file is pretty self explanatory.

Ryan




_______________________________________________

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: Ryan McGann <email@hidden>
References: 
 >Re: Cocoa-dev Digest, Vol 4, Issue 63 (From: Ryan McGann <email@hidden>)
 >Re: Regarding launching an application at startup of mac. (From: Ryan McGann <email@hidden>)

  • Prev by Date: Floating Panel Problems
  • Next by Date: Re: Floating Panel Problems
  • 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