Q:  How do I find the id of a menu?

A:  To obtain the menu id of the main menu use this:

	[NXApp mainMenu]

There is no direct way to find the id of other menus unless you know the menu cell  which corresponds to the menu in question.  Then you can use the ActionCell method target which returns the target of the cell (i.e., its menu id).  This method can be used to find any menu id.  It is especially useful for finding the id of a submenu.

Example:

	myMenuId = [myMenuCell target];

QA619

Valid for 1.0, 2.0, 3.0