Project

General

Profile

Toolbar » History » Version 31

Per Amundsen, 02/16/2023 03:28 PM

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