Project

General

Profile

$dockpanels » History » Version 4

Per Amundsen, 03/16/2015 06:30 AM

1 1 Per Amundsen
_Added in 1.9.4_
2
3
*$dockpanels*
4
5
Returns [[$true]] if any dockpanel is visible except Treebar, else [[$false]].
6
7
8
*$dockpanels(name)*
9
10
Returns [[$true]] if named dockpanel is visible, else [[$false]].
11
12
*Parameters*
13
14 2 Per Amundsen
name - The panel name to check. (Server, Channel, Private, Url, Notify, Dcc, Highlight or Treebar)
15 3 Per Amundsen
16
*Properties*
17
18
.wid - Returns the window id of the panel if any.
19 4 Per Amundsen
20
*Example*
21
22
<pre>
23
; Display information about the highlight panels.
24
//echo -ag Higlight is $iif($dockpanels(Highlight), Visible, Hidden)
25
26
; Hide the highlights dockpanel if it's in a window.
27
//window -h @ $+ $dockpanels(Highlight).wid
28
</pre>