loginwindow AliasData
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.