Project

General

Profile

Toolbar » History » Version 25

Per Amundsen, 12/14/2019 09:34 AM

1 9 Per Amundsen
_Added in 1.9.1_
2 1 Per Amundsen
3 21 Per Amundsen
*/toolbar [on|off] [-aidmsxkNnNzNebwhyNurctplof[sld]gN] [N] &lt;name/N&gt; &lt;tooltip&gt; &lt;picfile|<notextile>@</notextile>&gt; [x y w h] [/alias] [popfile|<notextile>@</notextile>]*
4 9 Per Amundsen
5 23 Per Amundsen
Allows modifying/adding/removing Toolbar buttons.
6
7
_See also [[$toolbar]]._
8
9 1 Per Amundsen
*Switches*
10
11
-a - Add button.
12 16 Per Amundsen
-i - Insert button at position [N].
13 12 Per Amundsen
-d - Deletes the Nth button or <name>.
14 15 Per Amundsen
-m - Moves button <name/N> to position [N].
15 1 Per Amundsen
-s - Add separator.
16 25 Per Amundsen
-x - *TODO*
17 18 Per Amundsen
-kN - Check or uncheck the Nth button or <name>, 0 = check, 1 = uncheck.
18 10 Per Amundsen
-nN - icon index in picfile.
19 1 Per Amundsen
-zN - Icon size, 1 = small, 2 = large, 3 = actual.
20 17 Per Amundsen
-e - Enable button [N] or <name>.
21
-b - Disable button [N] or <name>.
22
-w - Show button [N] or <name>
23
-h - Hide button [N] or <name>
24 1 Per Amundsen
-yN - TODO
25
-u - Update display immediately.
26 14 Per Amundsen
-r - Resets all buttons to default.
27 13 Per Amundsen
-c - Clear all buttons.
28 1 Per Amundsen
-t - Update tooltip.
29
-p - Update picfile.
30
-l - Update alias.
31 8 Per Amundsen
-o - Update popupfile.
32 1 Per Amundsen
-f - TODO
33 25 Per Amundsen
-gN - Sets the button alignment, 0 = left, 1 = right. *(AdiIRC only)*
34 1 Per Amundsen
35
*Parameters*
36
37 9 Per Amundsen
[on|off] - Enables/Disables Toolbar, use [[$toolbar]] to determine toolbar status.
38 1 Per Amundsen
[N] - Button position to modify.
39
&lt;name/N&gt; - Name or position of button to modify.
40
&lt;tooltip&gt; - Tooltip for the button.
41 4 Per Amundsen
&lt;picfile|<notextile>@</notextile>&gt; - Icon/Image file to use for the button or pic window name.
42 22 Per Amundsen
[x y w h] - Position and size of the image/bitmap to use. (not used for icons)
43 1 Per Amundsen
[/alias] - Alias command to add to the button.
44 11 Per Amundsen
[popfile|<notextile>@</notextile>] - popfile = TODO, @name pic window name.
45 19 Per Amundsen
46
*Example*
47
48
<pre>
49
; Add a button.
50
/toolbar -a mybutton "My button tooltip" "c:\icons\myicon.png" "/mycommand"
51
52
; Change the icon.
53
/toolbar -p mybutton "c:\icons\myicon2.png"
54
55
; Change the alias.
56
/toolbar -l mybutton /mycommand2
57
58
; Remove a button.
59
/toolbar -d mybutton
60
</pre>
61 20 Per Amundsen
62
*Default buttons*
63
64
<pre>
65
tsb1 = Disconnected
66
tsb26 = Connecting
67
tsb27 = Connected
68
tsb2 = Serverlist
69
tsb3 = Options
70
tsb4 = Dcc Transfer monitor panel
71
tsb5 = Separator
72
tsb6 = Cascade
73
tsb7 = Tile Horizontal
74
tsb8 = Tile Vertical
75
tsb9 = Separator
76
tsb10 = Open Winamp
77
tsb11 = Media Mlayer previous song
78
tsb12 = Media Player play song
79
tsb13 = Media Player pause song
80
tsb14 = Media Player stop song
81
tsb15 = Media Player next song
82
tsb16 = Now playing
83
tsb17 = Separator
84
tsb18 = Search box
85
tsb19 = Choose search engine
86
tsb20 = Separator right aligned
87
tsb21 = Memory usage
88
tsb22 = Cpu usage
89
tsb23 = Channellist
90 24 Per Amundsen
tsb28 = Script Editor
91 20 Per Amundsen
tsv24 = Dcc Transfer Progress
92
tsb25 = Clock
93
</pre>