Re: Some Application Windows are not Resizing
Re: Some Application Windows are not Resizing
- Subject: Re: Some Application Windows are not Resizing
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 29 Jul 2008 06:14:29 -0400
- Thread-topic: Some Application Windows are not Resizing
on 2008-07-29 5:13 AM, Smita Godbole at email@hidden wrote:
> So, it is reporting AXSize as a read-only property.But at the same time it is
> reporting AXPosition also as a read only property, & i am able to reposition
> it.
On my computer (Mac OS X 10.5.4 Leopard), iTunes, DVD Player, Stickies,
Chess and Photo Booth report that position is settable (read/write), while
reporting that size is not settable (read only). I'm using PreFab UI Browser
to determine whether the attributes are settable.
So, these applications are telling you, correctly, that you can use
accessibility to change their window position, but not to change their
window size.
> So is anybody knows why the same element can be repositioned but not resize??
Many of Apple's applications, like many third-party applications, fail to
implement the accessibility API correctly for particular elements or
attributes. The only thing you can do is to file a bug report.
> why it is returning 0 when we can resize it manually??
The accessibility API only reports whether an attribute is settable using
the accessibility API itself. It has nothing to do with what you can do
manually.
I am not sure about other techniques to change the size of another
application's window.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com
PreFab Software - www.prefabsoftware.com
_______________________________________________
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