Project

General

Profile

$playerhandle » History » Revision 2

Revision 1 (Per Amundsen, 04/29/2018 02:38 AM) → Revision 2/3 (Per Amundsen, 04/29/2018 02:44 AM)

_Added in 3.1_ 

 *$playerhandle* 

 Returns the window handle to the current running media player. 

 *Example* 

 <pre> 
 alias np { 
   if (!$playerhandle) { 
     echo $color(info) -agt Media Player is not running. 
     return 
   } 

   if (!$song) { 
     echo $color(info) -agt Media Player is not playing. 
     return 
   } 

   !np $1- 
 } 
 </pre>