$statusbar » History » Version 12
Per Amundsen, 05/16/2022 02:40 PM
1 | 1 | Per Amundsen | _Added in 1.9.3_ |
---|---|---|---|
2 | |||
3 | *$statusbar* |
||
4 | |||
5 | 9 | Per Amundsen | Returns [[$true]] if [[Statusbar_Control|Statusbar]] is visible, otherwise [[$false]]. |
6 | 3 | Per Amundsen | |
7 | 11 | Per Amundsen | _See also [[/statusbar]], [[Statusbar_Control|Statusbar]]._ |
8 | |||
9 | 7 | Per Amundsen | ----------------------------------------------------------------------------- |
10 | |||
11 | 3 | Per Amundsen | _Added in 1.9.7_ |
12 | |||
13 | *$statusbar(name|N)* |
||
14 | |||
15 | Returns the [[Statusbar_Control|Statusbar]] item matching name or the Nth item, if N = 0, number of Statusbar items. |
||
16 | 1 | Per Amundsen | |
17 | 12 | Per Amundsen | _.alias, .popup, .iconfile properties does not work for built-in items._ |
18 | |||
19 | 11 | Per Amundsen | _See also [[/statusbar]], [[Statusbar_Control|Statusbar]]._ |
20 | 6 | Per Amundsen | |
21 | 3 | Per Amundsen | *Parameters* |
22 | |||
23 | 9 | Per Amundsen | name|N - [[Statusbar_Control|Statusbar]] item name or the Nth item. |
24 | 3 | Per Amundsen | |
25 | *Properties* |
||
26 | |||
27 | .name - Item name. |
||
28 | .text - Item text. |
||
29 | .icon - [[$true]] if the item has a icon, otherwise [[$false]]. |
||
30 | .visible - [[$true]] if the item is visible, otherwise [[$false]]. |
||
31 | .custom - [[$true]] if the item is custom, otherwise [[$false]]. |
||
32 | .tooltip - Item tooltip. |
||
33 | .alias - Item alias. |
||
34 | 10 | Per Amundsen | .iconfile - Returns the icon file, if any. |
35 | 4 | Per Amundsen | .popup - Item popup name. |
36 | 9 | Per Amundsen | .x - Horizontal position of the [[Statusbar_Control|Statusbar]] item relative to the main AdiIRC window. |
37 | .y - Vertical position of the [[Statusbar_Control|Statusbar]] item relative to the main AdiIRC window. |
||
38 | .w - [[Statusbar_Control|Statusbar]] item width. |
||
39 | .h - [[Statusbar_Control|Statusbar]] item height. |
||
40 | .dx - Horizontal position of the [[Statusbar_Control|Statusbar]] item relative to the desktop. |
||
41 | .dy - Vertical position of the [[Statusbar_Control|Statusbar]] item relative to the desktop. |
||
42 | 3 | Per Amundsen | |
43 | *Example* |
||
44 | |||
45 | <pre> |
||
46 | ; Print number of Statusbar items. |
||
47 | //echo -ag $statusbar(0) |
||
48 | |||
49 | ; Print the first Statusbar item name. |
||
50 | //echo -ag $statusbar(1) |
||
51 | </pre> |