Project

General

Profile

$dockpanels » History » Revision 7

Revision 6 (Per Amundsen, 09/14/2016 12:01 PM) → Revision 7/18 (Per Amundsen, 04/09/2022 08:51 PM)

_Added in 1.9.4_ 

 *$dockpanels* 

 Returns [[$true]] if any dockpanel is visible except Treebar, otherwise [[$false]]. 

 _See also [[Monitor Panels]]._ 

 *$dockpanels(name)* 

 Returns [[$true]] if named dockpanel is visible, otherwise [[$false]]. 

 *Parameters* 

 name - The panel name to check. (Server, Channel, Private, Url, Notify, Dcc, Highlight, Nicklist Highlight or Treebar) 

 *Properties* 

 .wid - Returns the window id of the panel if any. 

 *Example* 

 <pre> 
 ; Display information about the highlight panels. 
 //echo -ag Higlight is $iif($dockpanels(Highlight), Visible, Hidden) 

 ; Hide the highlights dockpanel if it's in a window. 
 //window -h @ $+ $dockpanels(Highlight).wid 
 </pre>