• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Apple menu anomaly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Apple menu anomaly


  • Subject: Apple menu anomaly
  • From: Bill Cheeseman <email@hidden>
  • Date: Tue, 12 Nov 2002 12:35:44 -0500

Most target applications correctly return all of the Apple menu's menu items
when I get the children of the Apple menu, even if the target application is
not frontmost. However, a Cocoa application that I wrote a while ago does
not -- it reports 0 children. However, if I force my target application to
the front and send its Apple menu a Pick action to open it, thereafter the
accessibility API sees all of its menu items.

Is there something I was supposed to do in my Cocoa application (the target
application) that would make its Apple menu items visible to the
accessibility API without first having to expose it, like all the other
applications (Cocoa and Carbon) I've tested?

In writing as assistive application, should I expect similar behavior fairly
often from other target applications?

--

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.

  • Prev by Date: NSAccessibilityCancelAction constant missing
  • Next by Date: Re: Zero children
  • Previous by thread: Re: NSAccessibilityCancelAction constant missing
  • Next by thread: How to implement notifications
  • Index(es):
    • Date
    • Thread