Re: Accessibility API calls dosent give right response for some a ppli cations like Freehand,Excel
Re: Accessibility API calls dosent give right response for some a ppli cations like Freehand,Excel
- Subject: Re: Accessibility API calls dosent give right response for some a ppli cations like Freehand,Excel
- From: Guy Fullerton <email@hidden>
- Date: Sun, 11 Jan 2004 22:15:25 -0800
On 1/11/04 9:18 PM, "Anoop Singh" <email@hidden> wrote:
>
> Does Apple's UIElement Inspector application show anything for those
>
> apps. If it does then I guess you are doing something wrong.
>
> Matt
>
>
Apple's UIElement Inspector application do show menu bar and title etc. but
>
not the AXDocumentAttribute and thats the main issue.
Oops. Though you said that in your original post, I didn't notice that at
the time:
>
... but for some applications like Microsoft Excel,Freehand &
>
Dreamweaver, these calls doesnt give right response and returns null.
>
i.e. these applications doesnt give me the required information(like
>
kAXDocumentAttribute etc).
The Accessibility APIs can only provide an AXDocumentAttribute for a window
if the application tells the system which document is associated with the
window. (For Carbon apps, the app needs to set the window's proxy to a file.
There's a different, but equivalent, mechanism for Cocoa apps.)
Excel, Freehand and Dreamweaver must not be telling the system which
document is associated with a given window.
This isn't really a bug. Any given window will not necessarily support the
AXDocumentAttribute. Assistive applications must be tolerant of this fact.
If you believe those windows should support the AXDocumentAttribute, you
need to file bugs against those applications so their developers know what
they need to change.
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.