• 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 your app to the Login Items?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding your app to the Login Items?


  • Subject: Re: Adding your app to the Login Items?
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 25 Feb 2003 18:36:22 -0800

On Tuesday, February 25, 2003, at 01:13 PM, Jesus De Meyer wrote:

Is there a way to programmatically add your app to the Login Items without having to modify the loginwindow.plist file yourself?

If what you're saying is you want to change the login items without loading and saving the plist dictionary using NSDictionary, then you could use NSUserDefaults instead. To do this with NSUserDefaults, you would get the preferences dictionary from the persistent domain "loginwindow" and then set it back again once you've made changes.

AFAIK there is no way to do this that doesn't involve NSDictionary in some form or another, unless you want to write to the preferences file at a lower level, which I don't recommend doing.

Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page: http://dreamless.home.attbi.com/

if (message.signature==FUNNY) steal(message.signature); else message=message->next;
_______________________________________________
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 your app to the Login Items? (From: Jesus De Meyer <email@hidden>)

  • Prev by Date: Re: How to get image real number of bits per pixel
  • Next by Date: Re: Converting mouse coordinates in fullscreen context?
  • Previous by thread: Adding your app to the Login Items?
  • Next by thread: Re: Adding your app to the Login Items?
  • Index(es):
    • Date
    • Thread