Re: Menus of any other app...
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.