$menu » History » Revision 2
Revision 1 (Per Amundsen, 08/11/2015 09:38 AM) → Revision 2/4 (Per Amundsen, 12/31/2018 11:38 AM)
_Added in 1.9.1_
*$menu*
Returns the name of the associated window in a [[Scripting_Menus|menu]] event.
_See also [[$menutype]], [[$menucontext]], [[Scripting_Menus|Menus]]._
*Example*
<pre>
menu @Example {
Menu Name:echo -ag Menu name is $menu
Menu Type:echo -ag Menu type is $menutype
Menu Context:echo -ag Menu context is $menucontext
}
</pre>