• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Monitoring other application preferences changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Monitoring other application preferences changes (From: James Bucanek <email@hidden>)
 >Re: Monitoring other application preferences changes (From: Sandro Noël <email@hidden>)
 >Re: Monitoring other application preferences changes (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Monitoring other application preferences changes
  • Next by Date: Document not Saving Text View Attachment
  • Previous by thread: Re: Monitoring other application preferences changes
  • Next by thread: NSPathStore2 HELP!!!!!!
  • Index(es):
    • Date
    • Thread