Project

General

Profile

Statusbar » History » Version 2

Per Amundsen, 09/05/2015 12:57 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
[on] - Enables Statusbar.
12
[off] - Disables Statusbar.
13 2 Per Amundsen
14
_Added in 1.9.7_
15
16
*/statusbar <-adtbpoishnN> [N] <N|name> <tooltip> <@popup> [/alias] <text|picfile> [text]*
17
18
Adds or removes custom labels/icons to the Statusbar.
19
20
*Switches*
21
22
-a - Add a new item.
23
-d - Delete item 'name' or the Nth item.
24
-t - Change the tooltip text.
25
-b - Change the text.
26
-p - Change the picfile/icon.
27
-o - Change the associated @popup.
28
-i - Insert a item at position N.
29
-s - Show a hidden item.
30
-h - Hide a item.
31
-nN - Indicates picfile is defined, N is the Nth icon index in a exe/dll file.
32
33
*Parameters*
34
35
[N] - Used with -d and -i to delete the Nth item or insert at the Nth position.
36
<N|name> - Insert a item at the Nth position or the name of the item to modify/add.
37
<tooltip> - The tooltip text.
38
<@popup> - Popup to associate with the item.
39
[/alias] - Optional alias to execute when the item is doubleclicked.
40
<text|picfile> - The item item or picfile/icon to use when -n is defined.
41
[text] - Optional text to add to a picfile/icon.
42
43
*Example*
44
45
<pre>
46
; Create an example menu.
47
menu @Example {
48
  Hello World:echo -ag Hello World menu
49
}
50
51
alias example {
52
  echo -ag Hello world alias
53
}
54
55
; Create a new statusbar item named 'example'.
56
/statusbar -a example @example /example Example
57
58
; Update the text of the statusbar item 'example'.
59
/statusbar -b example Example2
60
61
: Delete the statusbar item named 'example'
62
/statusbar -d example
63
64
</pre>