• 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
loginwindow AliasData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

loginwindow AliasData


  • Subject: loginwindow AliasData
  • From: Bob Peterson <email@hidden>
  • Date: Tue, 12 Nov 2002 09:25:40 -0500

I've successfully programmed my app to configure itself as a Login Item by tweaking the loginwindow domain using NSUserPreferences. I only set the Path and Hide keys.

The AliasData key I don't set, since its use isn't obvious to me. It looks like it might be Finder alias data, judging by the name. If so, that'd be very useful. It could be a way to insure against my application being moved or renamed. But I've hunted through the Carbon headers and this mailing list's archives without finding any clues. Maybe I'm hunting for the wrong keywords.

Does anyone have hints or solutions for me?

---

Here's a second question: It's unpleasant to tweak another app's defaults while that other app is running. I send the synchronize message to NSUserDefaults but the Login Items panel doesn't notice the change. That can be bad if the user then directly interacts with the Login Items panel, as it will overwrite my app's changes. Is that just life, or is there something I can do to notify Login Items to reload its defaults?

\bob peterson
_______________________________________________
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.

  • Follow-Ups:
    • Re: loginwindow AliasData
      • From: Christian Weykopf <email@hidden>
    • Re: loginwindow AliasData
      • From: Jim Correia <email@hidden>
  • Prev by Date: Carl Edman's Mailapp utilities under OS X?
  • Next by Date: Re: loginwindow AliasData
  • Previous by thread: Carl Edman's Mailapp utilities under OS X?
  • Next by thread: Re: loginwindow AliasData
  • Index(es):
    • Date
    • Thread