Differences

This shows you the differences between two versions of the page.

Link to this comparison view

fuss:eagleplayer2 [2017/02/22 18:30] (current)
Line 1: Line 1:
 +===== 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:
 +
 +<code dos>
 +rx EP_TogglePlay.rexx
 +</​code>​
 +
 +The script can be useful in order to toggle the playing status remotely over telnet.
 +
 +<file rexx 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
 +</​file>​

fuss/eagleplayer2.txt ยท Last modified: 2017/02/22 18:30 (external edit)

Access website using Tor Access website using i2p


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