Statusbar » History » Version 23
Per Amundsen, 08/27/2020 02:24 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | */statusbar [on|off]* |
||
4 | |||
5 | Enables/disables Statusbar. [[$statusbar]] can be used to determine it's state. |
||
6 | |||
7 | If no parameter is defined, prints current Statusbar visibility status. |
||
8 | |||
9 | *Parameters* |
||
10 | |||
11 | 19 | Mr. BS | table(ktable). |
12 | |_<. Parameter |_<. Description | |
||
13 | | [on] | Enables Statusbar. | |
||
14 | | [off] | Disables Statusbar. | |
||
15 | 2 | Per Amundsen | |
16 | 19 | Mr. BS | --- |
17 | 13 | Per Amundsen | |
18 | 2 | Per Amundsen | _Added in 1.9.7_ |
19 | |||
20 | 17 | Per Amundsen | */statusbar <-adrtgpoijlhnNzN> [N] <N|name> <tooltip> <@popup> [/alias] [picfile] [text]* |
21 | 1 | Per Amundsen | |
22 | Adds or removes custom text items/icons to the Statusbar. |
||
23 | |||
24 | 23 | Per Amundsen | _See also [[$statusbar]]._ |
25 | |||
26 | 1 | Per Amundsen | *Switches* |
27 | |||
28 | 19 | Mr. BS | table(ktable). |
29 | |_<. Switch |_<. Description | |
||
30 | | -a | Add a new item. | |
||
31 | | -d | Delete item named <name> or the Nth item. | |
||
32 | | -r | Resets all items to default. | |
||
33 | | -t | Change the tooltip text. | |
||
34 | | -g | Change the text. | |
||
35 | | -p | Change the picfile/icon. | |
||
36 | | -o | Change the associated @popup. | |
||
37 | | -i | Insert a item at position N. | |
||
38 | | -j | Indicates [/alias] is defined. | |
||
39 | | -l | Change the alias. | |
||
40 | | -w | Show a hidden item. | |
||
41 | | -h | Hide a item. | |
||
42 | | -nN | Indicates [picfile] is defined, N is the Nth icon index in a exe/dll file. | |
||
43 | | -zN | Icon size to use before it's resized in Statusbar height, 1 = small, 2 = large, 3 = actual. | |
||
44 | 15 | Per Amundsen | |
45 | 2 | Per Amundsen | *Parameters* |
46 | |||
47 | 19 | Mr. BS | table(ktable). |
48 | |_<. Parameter |_<. Description | |
||
49 | | [N] | Used with -d and -i to delete the Nth item or insert at the Nth position. | |
||
50 | | <notextile><N|name></notextile> | Insert a item at the Nth position or the name of the item to modify/add. | |
||
51 | | <tooltip> | The tooltip text. | |
||
52 | | <@popup> | Popup to associate with the item. | |
||
53 | | [/alias] | Optional alias to execute when the item is doubleclicked. | |
||
54 | 22 | Per Amundsen | | <notextile>[picfile]</notextile> | The picfile/icon to use when -n is defined. | |
55 | 19 | Mr. BS | | [text] | Optional text to add to a picfile/icon. | |
56 | 2 | Per Amundsen | |
57 | *Example* |
||
58 | |||
59 | <pre> |
||
60 | ; Create an example menu. |
||
61 | menu @Example { |
||
62 | Hello World:echo -ag Hello World menu |
||
63 | } |
||
64 | |||
65 | alias example { |
||
66 | echo -ag Hello world alias |
||
67 | } |
||
68 | |||
69 | ; Create a new statusbar item named 'example'. |
||
70 | /statusbar -a example @example /example Example |
||
71 | |||
72 | ; Update the text of the statusbar item 'example'. |
||
73 | /statusbar -g example Example2 |
||
74 | 11 | Mr. BS | |
75 | 2 | Per Amundsen | : Delete the statusbar item named 'example' |
76 | /statusbar -d example |
||
77 | |||
78 | 19 | Mr. BS | ; Create a new statusbar item in position 4. |
79 | 20 | Mr. BS | /statusbar -ij 4 example "" @example "/example Example" "Example" |
80 | 1 | Per Amundsen | </pre> |