$menu » History » Version 1
Per Amundsen, 08/11/2015 09:38 AM
1 | 1 | Per Amundsen | _Added in 1.9.1_ |
---|---|---|---|
2 | |||
3 | *$menu* |
||
4 | |||
5 | Returns the name of the associated window in a [[Scripting_Menus|menu]] event. |
||
6 | |||
7 | *Example* |
||
8 | |||
9 | <pre> |
||
10 | menu @Example { |
||
11 | Menu Name:echo -ag Menu name is $menu |
||
12 | Menu Type:echo -ag Menu type is $menutype |
||
13 | Menu Context:echo -ag Menu context is $menucontext |
||
14 | } |
||
15 | </pre> |