Project

General

Profile

Actions

$playerhandle » History » Revision 2

« Previous | Revision 2/3 (diff) | Next »
Per Amundsen, 04/29/2018 02:44 AM


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-
}

Updated by Per Amundsen over 6 years ago · 2 revisions

Also available in: PDF HTML TXT