$menu » History » Version 4
Per Amundsen, 02/23/2023 05:06 PM
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 | 4 | Per Amundsen | _See also [[$menutype]], [[$menucontext]], [[$mouse]], [[$menuicon]], [[Scripting_Menus|Menus]]._ |
8 | 2 | Per Amundsen | |
9 | 1 | Per Amundsen | *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> |