Settable attribute bug?
Settable attribute bug?
- Subject: Settable attribute bug?
- From: Bill Cheeseman <email@hidden>
- Date: Wed, 19 Feb 2003 11:48:23 -0500
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?
--
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.