Re: Monitoring other application preferences changes
Re: Monitoring other application preferences changes
- Subject: Re: Monitoring other application preferences changes
- From: Sandro Noël <email@hidden>
- Date: Sat, 20 Feb 2010 12:10:23 -0500
>
> If I remember correctly, the Apple application you're interested in is the Dock.
>
> As I mentioned previously, you'll receive NSApplicationDidChangeScreenParametersNotification notifications (and -applicationDidChangeScreenParameters: delegate method invocations) when the Dock's position or size changes in such a way that the visible frame of one of the screens changes.
>
> Otherwise, what you're trying to do is unsupported. However, you can still use NSDistributedNotificationCenter to learn the undocumented, unsupported, unreliable distributed notifications that Apple is using to broadcast the changes in its preferences. Just register yourself as an observer of all distributed notifications and log them. Then, poke at the Dock's preferences in System Preferences and/or the Dock's contextual menu. You'll see the distributed notifications go by. Whether you want to base a commercial product on such unreliable Apple-private mechanisms is a judgment call.
>
> Regards,
> Ken
>
Ken the Dock is one of the applications I wanted to monitor,
thank you for the valuable pointers, Most appreciated!
cheers!
Sandro._______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden