Re: NSRegistrationDomain for another application?
Re: NSRegistrationDomain for another application?
- Subject: Re: NSRegistrationDomain for another application?
- From: Chris Parker <email@hidden>
- Date: Mon, 28 Apr 2003 00:48:46 -0700
Hi Dave,
On Sunday, April 27, 2003, at 12:24 PM, David Thorup wrote:
I'm just wondering if it's somehow possible to get the
NSRegistrationDomain for an application other than the one currently
running.
I know that you can get the NSRegistrationDomain for the current
application (your application) like this:
[[NSUserDefaults standardUserDefaults]
volatileDomainForName:NSRegistrationDomain];
Is there some way to attach to another running application and get its
NSRegistrationDomain? I've looked through both the NSUserDefaults API
and the CoreFoundation CFPreferences API and I don't see any way of
doing it. Does anyone know if it's possible?
This isn't possible with either API - you'd have to have your target
application tell you its registration domain using some sort of IPC.
This really isn't something that -should- be of interest to another
application, but now you've got me curious - just what is it that
you're interested in? :)
.chris
--
Chris Parker
Cocoa Frameworks Engineer
Apple Computer, Inc.
_______________________________________________
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.