Re: Agent Applications and launchd
Re: Agent Applications and launchd
- Subject: Re: Agent Applications and launchd
- From: Jerry Krinock <email@hidden>
- Date: Thu, 05 Jan 2006 08:54:46 -0800
- Thread-topic: Agent Applications and launchd
After I replaced my 50 lines of code with calls to the functions in Apple's
LoginItemsAE.c and re-tested my app, I discovered another reason why using
LoginItemsAE.c is a good idea: AliasData.
Apple's code adds the AliasData key/value pair to your login item. My own
code did not do that.
I could not find any documentation on AliasData; I presume that it is needed
for your login item to launch if the user moves it, and is probably some
kind of serialized FSRef, which I would have had to reverse-engineer had I
continued developing with my own code.
_______________________________________________
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