This shows you the differences between two versions of the page.
| Previous revision | |||
| — | fuss:eagleplayer2 [2025/10/21 23:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| 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 '' | ||
| + | |||
| + | <code dos> | ||
| + | rx EP_TogglePlay.rexx | ||
| + | </ | ||
| + | |||
| + | 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(' | ||
| + | do | ||
| + | say ' | ||
| + | exit | ||
| + | end | ||
| + | |||
| + | address ' | ||
| + | options results | ||
| + | |||
| + | status g ply | ||
| + | if result == " | ||
| + | do | ||
| + | say ' | ||
| + | play 0 | ||
| + | end | ||
| + | else | ||
| + | do | ||
| + | say ' | ||
| + | play 1 | ||
| + | end | ||
| + | </ | ||
For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.