Counting children of menubar
Counting children of menubar
- Subject: Counting children of menubar
- From: Bill Cheeseman <email@hidden>
- Date: Sat, 02 Nov 2002 17:37:23 -0500
In my assistive application, the AXUIElementGetAttributeValueCount function
returns kAXErrorNotImplemented when called for attribute "AXChildren" of
element AXMenuBar.
Yet AXUIElementCopyAttributeValues returns an array of menus in the menubar,
and when I count the elements in the array I see the correct number of
menus.
Is this a known issue? If it works for you, is there some non-obvious trick
in getting a valid count?
At first, I thought it might be because most of my target applications' menu
bars have an iconic menu at the right end -- the keyboard input menu. But I
turned that menu off in System Preferences, and the problem still occurs.
--
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.