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: Ryan McGann <email@hidden>
- Date: Sat, 20 Jan 2007 11:45:10 -0800
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