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