Project

General

Profile

$playerhandle » History » Version 2

Per Amundsen, 04/29/2018 02:44 AM

1 1 Per Amundsen
_Added in 3.1_
2
3
*$playerhandle*
4
5
Returns the window handle to the current running media player.
6 2 Per Amundsen
7
*Example*
8
9
<pre>
10
alias np {
11
  if (!$playerhandle) {
12
    echo $color(info) -agt Media Player is not running.
13
    return
14
  }
15
16
  if (!$song) {
17
    echo $color(info) -agt Media Player is not playing.
18
    return
19
  }
20
21
  !np $1-
22
}
23
</pre>