Project

General

Profile

$statusbar » History » Version 11

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