Toggle Between Pause and Play

This is an AREXX script for EaglePlayer 2 that toggles between play and pause. To use the file, save it as EP_TogglePlay.rexx and then execute:

rx EP_TogglePlay.rexx

The script can be useful in order to toggle the playing status remotely over telnet.

EP_TogglePlay.rexx
/*************************************************************************/
/*    Copyright (C) 2015 Wizardry and Steamworks - License: GNU GPLv3    */
/*************************************************************************/
/* Toggles between pause and play in EaglePlayer2.                       */
/*************************************************************************/
 
if pos('rexx_EP',SHOW('Ports')) == 0 then
   do
      say 'EglePlayer2 not started...'
      exit
   end
 
address 'rexx_EP'
options results
 
status g ply
if result == "yes" then 
   do
      say 'Stopping...'
      play 0
   end
else
   do
      say 'Starting...'
      play 1
   end

fuss/eagleplayer2.txt ยท Last modified: 2022/04/19 08:28 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.