Re: accessibility vs dock
Re: accessibility vs dock
- Subject: Re: accessibility vs dock
- From: Joshua Kifer <email@hidden>
- Date: Tue, 9 Dec 2003 15:33:57 -0500
For anyone following this thread, I found this useful technote:
http://developer.apple.com/technotes/tn/tn2050.html
On Dec 9, 2003, at 3:23 PM, M. Uli Kusterer wrote:
At 14:13 Uhr -0500 09.12.2003, 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.
Never heard anything about that. I think the rationale is far worse:
It is considered a security risk for any application to be able to
remote-control others, or to look at their windows, buttons etc.
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?
I suppose it uses an SPI. It could also be subscribing to application
launched/switched/died Apple Events, which are still sent to any app
subscribing to them. At least it was that way under 10.2. Haven't
really tried that on 10.3 yet. I'm not sure hidden/shown events are
sent that way, but I haven't really looked for that yet.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.