• 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: accessibility vs dock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: accessibility vs dock


  • Subject: Re: accessibility vs dock
  • From: Eric Schlegel <email@hidden>
  • Date: Tue, 9 Dec 2003 11:33:45 -0800

On Dec 9, 2003, at 11:13 AM, Joshua Kifer wrote:

Hi all, this is a continuation of the discussion about inter-application notifications. My solution thus far, as recommended by the various experts on this list, is to use the Accessibility API. I've got that solution working, but there is one thing still bothering me. In order for this API to work, it must be deliberately turned on by the user. I assume as well, that it slows down the system.

Just having the accessibility API turned on shouldn't slow down the system. As long as no one has observers registered, there's no interprocess traffic going on.

What I am wondering is, how is the dock able to respond to application hidden, shown, launch, and quit events without the Accessibility API turned on?

It uses notifications sent by CoreGraphics. At the Carbon event level, these notifications are turned into kEventClassApplication events: kEventAppFrontSwitched, kEventAppLaunched, kEventAppTerminated. Currently there's no Carbon event to indicate when some other application is hidden, though.

-eric
_______________________________________________
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.

  • Follow-Ups:
    • Re: accessibility vs dock
      • From: Joshua Kifer <email@hidden>
References: 
 >accessibility vs dock (From: Joshua Kifer <email@hidden>)

  • Prev by Date: Re: NSUserDefaultsController and KVO
  • Next by Date: Re: Xcode style deployment: debug-symbols?
  • Previous by thread: accessibility vs dock
  • Next by thread: Re: accessibility vs dock
  • Index(es):
    • Date
    • Thread