Project

General

Profile

$statusbar » History » Version 9

Per Amundsen, 03/27/2021 10:27 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 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 4 Per Amundsen
.popup - Item popup name.
31 9 Per Amundsen
.x - Horizontal position of the [[Statusbar_Control|Statusbar]] item relative to the main AdiIRC window.
32
.y - Vertical position of the [[Statusbar_Control|Statusbar]] item relative to the main AdiIRC window.
33
.w - [[Statusbar_Control|Statusbar]] item width.
34
.h - [[Statusbar_Control|Statusbar]] item height.
35
.dx - Horizontal position of the [[Statusbar_Control|Statusbar]] item relative to the desktop.
36
.dy - Vertical position of the [[Statusbar_Control|Statusbar]] item relative to the desktop.
37 3 Per Amundsen
38
*Example*
39
40
<pre>
41
; Print number of Statusbar items.
42
//echo -ag $statusbar(0)
43
44
; Print the first Statusbar item name.
45
//echo -ag $statusbar(1)
46
</pre>