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

Re: loginwindow AliasData


  • Subject: Re: loginwindow AliasData
  • From: Christian Weykopf <email@hidden>
  • Date: Tue, 12 Nov 2002 16:33:59 +0100

Am Dienstag den, 12. November 2002, um 15:25, schrieb Bob Peterson:

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?

I do the same in my app. The AliasData magically appear after a new login.
But have a look at the CFPrefDockItems from Apple sample code. They use AliasData there.


---

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.


Mit freundlichen Gr|_en

Christian Weykopf
--

Meilenstein Software GmbH

Neue Strasse 5
D-31582 Nienburg
Tel: +49 (0) 5021 91 24 44
Fax: +49 (0) 5021 91 24 45
http://www.meilenstein.de/
mailto:email@hidden
_______________________________________________
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: 
 >loginwindow AliasData (From: Bob Peterson <email@hidden>)

  • Prev by Date: Re: loginwindow AliasData
  • Next by Date: [Bug?] Text rendering under Cocoa
  • Previous by thread: Re: loginwindow AliasData
  • Next by thread: [Bug?] Text rendering under Cocoa
  • Index(es):
    • Date
    • Thread