Project

General

Profile

Statusbar » History » Version 6

Per Amundsen, 09/17/2015 02:14 AM

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