Re: Autostart item in user profile.
Re: Autostart item in user profile.
- Subject: Re: Autostart item in user profile.
- From: Ken Thomases <email@hidden>
- Date: Thu, 25 Sep 2008 22:25:40 -0500
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 (email@hidden)
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:
This email sent to email@hidden