Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Agent Applications and launchd (From: Keith Alperin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.