Re: Settable attribute bug?
Re: Settable attribute bug?
- Subject: Re: Settable attribute bug?
- From: John Louch <email@hidden>
- Date: Wed, 19 Feb 2003 14:20:35 -0800
>
When I call the AXUIElementIsAttributeSettable function on the menubar
>
element with attribute kAXValueAttribute, I get kAXErrorSuccess.
>
>
Shouldn't this return something like kAXErrorAttributeUnsupported, since the
>
menubar element doesn't have a kAXValueAttribute? (At least, I don't think
>
it does.)
>
>
I've tested this on TextEdit and nothing else at this point.
>
>
I'm casting around for some function I can use to give me a reliable test of
>
whether a particular element has a particular attribute, before trying to
>
get the attribute and use it. Is there a better alternative? Must I get the
>
complete list of attributes for the element and test whether this attribute
>
is contained in it?
Yes, Getting the complete list of attributes is the only real way to
determine if an attribute is supported by a UIElementRef. The AXMenuBar
issue sounds like a bug.
jl
>
>
--
>
>
Bill Cheeseman - email@hidden
>
Quechee Software, Quechee, Vermont, USA
>
http://www.quecheesoftware.com
>
>
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
>
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
>
Croquet Club of Vermont - http://members.valley.net/croquetvermont
>
_______________________________________________
>
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.
---------------------------------------------
John Louch Internet #: email@hidden
(805) 546 0216
_______________________________________________
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.