• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: adding a login item programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >adding a login item programmatically (From: Chris Saldanha <email@hidden>)

  • Prev by Date: Re: adding a login item programmatically
  • Next by Date: Continuity
  • Previous by thread: Re: adding a login item programmatically
  • Next by thread: Strange error
  • Index(es):
    • Date
    • Thread