Project

General

Profile

$statusbar » History » Version 8

Per Amundsen, 01/02/2019 05:29 AM

1 1 Per Amundsen
_Added in 1.9.3_
2
3
*$statusbar*
4
5 2 Per Amundsen
Returns [[$true]] if [[/statusbar|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 5 Per Amundsen
Returns the 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
name|N - Statusbar item name or the Nth item.
20
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 8 Per Amundsen
.x - Horizontal position of the statusbar item relative to the main AdiIRC window.
32
.y - Vertical position of the statusbar item relative to the main AdiIRC window.
33
.w - Statusbar item width.
34
.h - Statusbar item height.
35
.dx - Horizontal position of the statusbar item relative to the desktop.
36
.dy - Vertical position of the 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>