> > 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 protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
