$menucontext » History » Version 4
  Mr. BS, 02/12/2017 08:18 PM 
  
| 1 | 1 | Per Amundsen | _Added in 1.9.1_ | 
|---|---|---|---|
| 2 | |||
| 3 | *$menucontext* | ||
| 4 | |||
| 5 | 4 | Mr. BS | Returns the context of a [[Scripting_Menus|menu]] event. | 
| 6 | 1 | Per Amundsen | |
| 7 | 3 | Per Amundsen | _window/hotlink/toolbar/treebar_ | 
| 8 | 1 | Per Amundsen | |
| 9 | *Example* | ||
| 10 | |||
| 11 | <pre> | ||
| 12 | menu @Example { | ||
| 13 | Menu Name:echo -ag Menu name is $menu | ||
| 14 | Menu Type:echo -ag Menu type is $menutype | ||
| 15 | Menu Context:echo -ag Menu context is $menucontext | ||
| 16 | } | ||
| 17 | </pre> |