Re: Problems with AXSize Attribute of some applications
Re: Problems with AXSize Attribute of some applications
- Subject: Re: Problems with AXSize Attribute of some applications
- From: Peter Lübke <email@hidden>
- Date: Fri, 25 Feb 2011 13:17:11 +0100
Which element is returned for kAXFocusedWindowAttribute - is it
really the window? You can verify this with AccessibilityInspector
(UIElementInspector).
Do you get the same garbage when you track the window traversing the
whole element hierarchy : AXApplication -> kAXWindowsAttribute ->
AXWindow ?
Cheers,
Peter
Am 25.02.2011 um 08:15 schrieb Benedikt Iltisberger:
Hello everybody,
I ran into troubles with reading the AXSize attribute using the
Accessibility API.
The AXSize attribute (using the kAXFocusedWindowAttribute) should
return the size of the whole window.
But some applications like Google Chrome return the value of the
current UIElement (in this case the title bar) instead of the size
of the whole window.
In this cases I receive a height of 36 instead of 500.
To get the correct value I have to select a lower area of the
chrome window. But I need to get the whole window size when I
select the window's title bar.
With all standard Apple application this works great but some none
standard applications return garbage like chrome.
What can I do to handle this problem. I really ran out of ideas.
Thanks for you help in advance.
Kind regards
Benedikt
_______________________________________________
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