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 05:57:08 -0400
- Thread-topic: AXMoved and AXResized notifications don't work?
on 2006-05-24 4:46 AM, Bill Cheeseman at email@hidden wrote:
> 3. Register AXValueChanged on the application to learn when any element
> changed value, then update the target element's position if the affected
> element is a scrollbar.
>
> I will get lots of false positives on case 3, but it shouldn't matter
> because the operation I perform in response is nondestructive and quick.
Unfortunately, some applications don't trigger the AXValueChanged
notification when a scroll bar is used to scroll a view, even though the
application was registered for this notification. The Finder, for example,
in browser mode. But other applications, such as Xcode, work as expected.
In general, this technique is now working nicely. I'm using it in PreFab UI
Browser to move the highlighting overlay window when a target application's
window is moved or resized or one of its scroll views is scrolled while UI
Browser's highlighting feature is turned on. As soon as the move, resize or
scroll operation in the target application is done, UI Browser's highlight
overlay window snaps to the new position of the highlighted UI element.
This would work a lot better if all UI elements supported the AXMoved and
AXResized notifications.
--
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