Re: AXMoved and AXResized notifications don't work?
Re: AXMoved and AXResized notifications don't work?
- Subject: Re: AXMoved and AXResized notifications don't work?
- From: Bill Cheeseman <email@hidden>
- Date: Wed, 24 May 2006 15:16:16 -0400
- Thread-topic: AXMoved and AXResized notifications don't work?
on 2006-05-24 12:07 PM, Mike Engber at email@hidden wrote:
> It would be very difficult/expensive
> to implement. E.g. if a window moves every ui element it contains has
> a new position. We would have to send (or at least check for) a
> notification on every ui element in the window's hierarchy.
I appreciate the difficulties with implementing AXMoved and AXResized for
every element. But what else is there that can be used to trigger an
exhaustive review by the monitoring (assistive) app?
One thing that occurs to me is to specify an "AXSomethingChanged"
notification that all windows (and drawers and sheets) would be expected to
send whenever anything at all changed in the window or its UI elements. Then
the assistive app would at least have the option to perform its own internal
tests to see what's different, depending on its design goals. That would
work perfectly in my case -- I already know which UI element I want to
monitor; all I care about is to know when I should take a look at it.
You could even take my concept of "AXSomethingChanged" a step further, and
specify that it must provide an array of references to the UI elements
within the window that did change. If this is implemented by the
application, it will be very fast, and by definition there would be only the
one notification for all of them.
But this is probably too much to expect of developers. It would only really
work if Apple were able to build it into every Carbon and Cocoa window.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden