$menucontext » History » Revision 5
Revision 4 (Mr. BS, 02/12/2017 08:18 PM) → Revision 5/7 (Per Amundsen, 12/31/2018 11:38 AM)
_Added in 1.9.1_
*$menucontext*
Returns the context of a [[Scripting_Menus|menu]] event.
_window/hotlink/toolbar/treebar_
_See also [[$menutype]], [[$menu]], [[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>