• 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
Re: Menus of any other app...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Menus of any other app...


  • Subject: Re: Menus of any other app...
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 17 Sep 2002 20:34:11 +0200

On Tuesday, September 17, 2002, at 07:07 , Ando Sonenblick wrote:

Is it possible to determine the menus and menu items of another running
application from within my application?

I don't mean to actually acquire the object ptr's, etc... Just the text of
the menus and the menu items and perhaps any key equivalents...

I'd like to make a utility that can work with any app to be able to invoke
that app's menus under my control...

First you want to study AppleScript.

If it does not help (I am no AS guru, so I really don't know!) you might consider either readin the app's main NIB or putting your own bundle into its address space and communicating with it; both though are *hacks*, and both won't work for special apps (like CFM monolits, or even /some of/ Carbon).
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Menus of any other app...
      • From: Ando Sonenblick <email@hidden>
References: 
 >Menus of any other app... (From: Ando Sonenblick <email@hidden>)

  • Prev by Date: Required Double Extensions in Save Panel
  • Next by Date: Re: DB-Engine
  • Previous by thread: Re: Menus of any other app...
  • Next by thread: Re: Menus of any other app...
  • Index(es):
    • Date
    • Thread