home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Amiga
/
Workbench
/
DOpus
/
OpusMPEGA.lha
/
opusmpega
/
arexx
/
Play-MPx.dopus5
< prev
next >
Wrap
Text File
|
1998-04-18
|
1KB
|
36 lines
/* AREXX Script for MPEG-Soundplaying Layer 1,2&3 Opus5.5+ Filetypes
** Displays Song, MPEG-Layer, Playtime in a Dopus Progress Window
**
** This script requires the modules 'OpusMPEGA.dopus5' !
** *****************************************************
** $VER: Play-MPx.dopus5 3.1 (29.4.98) ⌐1995-1998 by Eckhard Ludwig (Eckhard@top.east.de) [Emailware]
** This program is Email-Ware !
**
** Call as:
** --------------------------------------------------------------------------
** (Doubleklick) ARexx DOpus5:ARexx/Play-MPx.dopus5 {f} {Qp} {Ql} Funktion
** --------------------------------------------------------------------------
*/
parse arg '"'Titel'"' portname handle funktion
if portname='' then portname='DOPUS.1'
If ~show("P",portname) then do
SAY portname' is not a valid port!'
exit
end
options results
address value portname
if Titel="EXIT"|Titel="NEXT"|Titel="PREVIOUS"|Titel="STOP"|Titel="PLAY"|Titel="QUIT"|Titel="INFO"|Titel="TAGINFO" then do
dopus send 'mpegport' Titel
exit
end
if funktion='' then funktion="PLAYSONG"
If ~show('P','mpegport') then command 'OpusMPEGA'
else if funktion="PLAYSONG" then dopus send 'mpegport' 'STOP'
address command 'waitforport mpegport'
dopus send 'mpegport' ' 'funktion' ' handle '"'Titel'"'
exit