Project

General

Profile

Statusbar » History » Version 16

Per Amundsen, 06/28/2016 12:18 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 13 Per Amundsen
-----------------------------------------------------------------------------
15
16 2 Per Amundsen
_Added in 1.9.7_
17
18 12 Per Amundsen
*/statusbar <-adtgpoijlhnNzN> [N] <N|name> <tooltip> <@popup> [/alias] [picfile] [text]*
19 2 Per Amundsen
20 3 Per Amundsen
Adds or removes custom text items/icons to the Statusbar.
21 2 Per Amundsen
22
*Switches*
23
24
-a - Add a new item.
25 16 Per Amundsen
-d - Delete item named <name> or the Nth item.
26
-r - Delete item named <name>, if <name> is not defined, clears all custom items.
27 2 Per Amundsen
-t - Change the tooltip text.
28 9 Per Amundsen
-g - Change the text.
29 2 Per Amundsen
-p - Change the picfile/icon.
30
-o - Change the associated @popup.
31 1 Per Amundsen
-i - Insert a item at position N.
32
-j - Indicates [/alias] is defined.
33 12 Per Amundsen
-l - Change the alias.
34 1 Per Amundsen
-w - Show a hidden item.
35 2 Per Amundsen
-h - Hide a item.
36 1 Per Amundsen
-nN - Indicates [picfile] is defined, N is the Nth icon index in a exe/dll file.
37 15 Per Amundsen
-zN - Icon size to use before it's resized in Statusbar height, 1 = small, 2 = large, 3 = actual.
38 2 Per Amundsen
39
*Parameters*
40
41
[N] - Used with -d and -i to delete the Nth item or insert at the Nth position.
42
<N|name> - Insert a item at the Nth position or the name of the item to modify/add.
43
<tooltip> - The tooltip text.
44
<@popup> - Popup to associate with the item.
45
[/alias] - Optional alias to execute when the item is doubleclicked.
46
<text|picfile> - The item item or picfile/icon to use when -n is defined.
47
[text] - Optional text to add to a picfile/icon.
48
49
*Example*
50
51
<pre>
52
; Create an example menu.
53
menu @Example {
54
  Hello World:echo -ag Hello World menu
55
}
56
57
alias example {
58
  echo -ag Hello world alias
59
}
60
61
; Create a new statusbar item named 'example'.
62
/statusbar -a example @example /example Example
63
64
; Update the text of the statusbar item 'example'.
65 11 Mr. BS
/statusbar -g example Example2
66 2 Per Amundsen
67
: Delete the statusbar item named 'example'
68
/statusbar -d example
69
70
</pre>