Skip navigation.
 
mlRe: loginwindow AliasData
FROM : Christian Weykopf
DATE : Tue Nov 12 16:33:59 2002

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_removed>
> 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:c.<email_removed>
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlloginwindow AliasData Bob Peterson Nov 12, 15:25
mlRe: loginwindow AliasData Jim Correia Nov 12, 15:34
mlRe: loginwindow AliasData Christian Weykopf Nov 12, 16:33