Re: Itunes is not resizing by accessibility api
Re: Itunes is not resizing by accessibility api
- Subject: Re: Itunes is not resizing by accessibility api
- From: "Apparao Mulpuri" <email@hidden>
- Date: Tue, 3 Jun 2008 09:50:37 +0530
I am also facing the same issue.
It would be great , if anyone from Apple respond to this query.
- Apparao.
On Mon, Jun 2, 2008 at 6:07 PM, Smita Godbole <email@hidden> wrote:
> I am writing a sample application,
> where I am using accessibilty api to resize the selected window.
>
> For every other appliation it is working fine,except iTunes.
>
> AXUIElementIsAttributeSettable (m_curWndElement, kAXSizeAttribute,
> &settable);
> NSLog(@"kAXSizeAttribute, settable :: %d ",settable); ----o/p == 0
> AXUIElementIsAttributeSettable (m_curWndElement, kAXPositionAttribute,
> &settable);
> NSLog(@"kAXPositionAttribute settable :: %d ",settable); ----o/p == 1
> AXError err1 = AXUIElementSetAttributeValue(m_curWndElement,
> kAXSizeAttribute, newSizeRef1);
> NSLog(@"err1 :: %d ",err1); ----o/p == -25205(kAXErrorAttributeUnsupported)
> err1 = AXUIElementSetAttributeValue(m_curWndElement, kAXPositionAttribute,
> newWindowPos1);
> NSLog(@"err2 :: %d ",err1); ----o/p == 0 (kAXErrorSuccess)
>
>
>
> Is AXUIElementRef object(i.e kAXSizeAttribute) of iTunes is settable or
> not??
>
> I have checked with other sample Carbon application, its working fine.
>
> So is anybody knows why the same element can be repositioning but not
> resizing??
> why it is returning 0 when we can resize it manually??
> Or is there any other way to resize the itunes application window??
>
> Thanks & Regards,
> - Smita Gosbole
>
>
>
> _______________________________________________
> 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
>
_______________________________________________
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