Problems with AXSize Attribute of some applications
Problems with AXSize Attribute of some applications
- Subject: Problems with AXSize Attribute of some applications
- From: Benedikt Iltisberger <email@hidden>
- Date: Fri, 25 Feb 2011 08:15:13 +0100
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