Re: Login item support for Panther, Tiger and Leopard
Re: Login item support for Panther, Tiger and Leopard
- Subject: Re: Login item support for Panther, Tiger and Leopard
- From: "Sean McBride" <email@hidden>
- Date: Thu, 31 Jan 2008 11:51:43 -0500
- Organization: Rogue Research
On 1/31/08 11:32 AM, Uli Kusterer said:
> Check out the defaults command line tool. That lets you edit a plist
>from a shell script. Although the officially recommended way is to use
>Apple Events.
Before 10.5, the officially recommended way was to use Apple's
LoginItemsAE sample code (or Uli's wrapper!), which works using AppleEvents.
In 10.5, the best way is to use the APIs in LaunchServices/LSSharedFileList.h.
I have updated this article:
<http://www.cocoadev.com/index.pl?StartingMyAppOnStartup>
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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