Re: adding a login item programmatically
Re: adding a login item programmatically
- Subject: Re: adding a login item programmatically
- From: Finlay Dobbie <email@hidden>
- Date: Thu, 8 May 2003 23:13:41 +0100
On Thursday, May 8, 2003, at 09:50 pm, Chris Saldanha wrote:
I see this info stored in ~/Library/Preferences/loginwindow.plist,
Use CFPreferences or NSUserDefaults, don't modify the plist directly
(bad practice).
but
there's an "AliasData" key which I don't know how to create (presumably
some kind of filesystem data).
It's just standard alias data, see the Alias Manager reference in
Carbon (various cocoa wrappers exist). If you don't create that key,
loginwindow creates it for you at some point.
-- Finlay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.