Added in 3.1
$playerhandle
Returns the window handle to the current running media player.
Example
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- }