Menubar » History » Version 22
Per Amundsen, 09/20/2016 09:32 AM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | 9 | Per Amundsen | */menubar [on|off]* |
4 | 1 | Per Amundsen | |
5 | 4 | Per Amundsen | Enables or disables Menubar. |
6 | |||
7 | [[$menubar]] can be used to determine it's state. |
||
8 | 1 | Per Amundsen | |
9 | 5 | Per Amundsen | If no parameter is defined, prints current Menubar visibility status. |
10 | 1 | Per Amundsen | |
11 | 22 | Per Amundsen | _When Menubar is disabled, it can be temporary enabled by pressing the %(key)ALT% key, it can also be viewed by right-clicking the Titlebar in the main AdiIRC window_. |
12 | |||
13 | 9 | Per Amundsen | *Parameters* |
14 | |||
15 | [on] - Enables Menubar. |
||
16 | [off] - Disables Menubar. |
||
17 | |||
18 | 18 | Per Amundsen | ----------------------------------------------------------------------------- |
19 | |||
20 | 12 | Per Amundsen | _Added in 1.9.7_ |
21 | |||
22 | 20 | Per Amundsen | */menubar [-adrishtio] [N] <N|name> <@popup> [text]* |
23 | 9 | Per Amundsen | |
24 | 14 | Per Amundsen | Adds or removes custom menu items to the Menubar. |
25 | 9 | Per Amundsen | |
26 | 10 | Per Amundsen | _AdiIRC only_ |
27 | 9 | Per Amundsen | |
28 | 6 | Per Amundsen | *Switches* |
29 | |||
30 | 1 | Per Amundsen | -a - Add a new menu. |
31 | 20 | Per Amundsen | -d - Delete item named <name> or the Nth item. |
32 | 21 | Per Amundsen | -r - Resets all menus to default. |
33 | 16 | Per Amundsen | -i - Insert a menu at position [N]. |
34 | 19 | Per Amundsen | -s - Show a hidden menu. |
35 | 16 | Per Amundsen | -h - Hide a menu. |
36 | -t - Change the text of a menu. |
||
37 | -o - Change the @popup menu associated with the menu. |
||
38 | 1 | Per Amundsen | |
39 | 6 | Per Amundsen | *Parameters* |
40 | |||
41 | 9 | Per Amundsen | <N> - Position to insert or delete at when using -i/-d. |
42 | 14 | Per Amundsen | <N|name> - Name of a menu item to add/delete/modify or the Nth position to insert at when -i is used. |
43 | <@popup> - The @popup menu to associate with the menu. |
||
44 | 3 | Per Amundsen | |
45 | *Example* |
||
46 | 1 | Per Amundsen | |
47 | 3 | Per Amundsen | <pre> |
48 | 14 | Per Amundsen | ; Setup a custom menu for the 'mymenu' menu. |
49 | 9 | Per Amundsen | menu @mymenu { |
50 | 8 | Per Amundsen | Hello World:echo -ag Hello world |
51 | 3 | Per Amundsen | Menu name:echo -ag Menu name is $menu |
52 | } |
||
53 | |||
54 | 14 | Per Amundsen | ; Adda a new menu named 'mymenu' with the text 'Top Menu Test'. |
55 | 9 | Per Amundsen | /menubar -a mymenu @mymenu Top Menu Test |
56 | 7 | Per Amundsen | |
57 | 14 | Per Amundsen | ; Changes the text of the menu named 'mymenu' to 'Top Menu Test2'. |
58 | 7 | Per Amundsen | /menubar -t mymenu Top Menu Test2 |
59 | 3 | Per Amundsen | |
60 | 14 | Per Amundsen | ; Delete the menu named 'mymenu'. |
61 | 3 | Per Amundsen | /menubar -d mymenu |
62 | 1 | Per Amundsen | </pre> |