On Sep 25, 2008, at 6:58 PM, Gregory Weston wrote:

Sandro Noel wrote:

I would like my application to have the option to auto-start itself
when the user log's in but I cant seem to find information on how to do
it in the documentation.
I'm probably not looking for the right keywords, could someone point
me in the right direction ?

I believe this is the officially preferred solution:

<http://developer.apple.com/samplecode/LoginItemsAE/index.html>

Actually, Leopard introduced the LSSharedFileList API, which is the new preferred solution. Unfortunately, this API is undocumented. The only documentation (other than a brief mention in the release notes) is the header file:

/System/Library/Frameworks/CoreServices.framework/Frameworks/ LaunchServices.framework/Headers/LSSharedFileList.h

Cheers,
Ken

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to