Re: Agent Applications and launchd
Re: Agent Applications and launchd
- Subject: Re: Agent Applications and launchd
- From: Jerry Krinock <email@hidden>
- Date: Tue, 27 Dec 2005 15:21:05 -0800
- Thread-topic: Agent Applications and launchd
on 05/12/27 12:18, Joachim at email@hidden wrote:
>
http://developer.apple.com/
>
documentation/MacOSX/Conceptual/BPSystemStartup/Articles/
>
CustomLogin.html#//apple_ref/doc/uid/20002134
I agree with Joachim that the OP probably wants an "agent", which is now
called a "Login Item". This is differentiated from a daemon primarily that
it is visible in the user's System Preferences > Login Items.
Regarding these "agent "Login Items" however, the referenced article gives
the surprising and vague advice to:
"modify the ~/Library/Preferences/loginwindow.plist property-list file of
the desired user..." (Yes, I clicked on the link and complained to Apple.)
The following post got me started on how to do this:
http://www.cocoabuilder.com/archive/message/cocoa/2002/7/3/54254
A couple other tricks they don't tell you:
1. If your "agent" application package is buried in the "Resources" folder
of your main application, (such as iTunes' iTunesHelper is), give it a full
path name.
2. To get your application's icon to show up, and its "Kind" to appear as
"Application" instead of "Unknown" in the user's Login Window, include the
".app" extension too.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden