Re: Binary Decoding Question

Phil Crown (pcrown@airmail.net)
Sat, 23 Nov 1996 21:56:38 -0600

>I've heard on the a.b.sounds newsgroups that some newsreaders such as
>Agent allow the user to hear the .wav once it's decoded. Is there a
>way to accomplish this under Yarn? The same idea is supposed to work
>for jpgs and gifs (and I suppose any other file type.)

Possibly, if a .cmd file can be run inplace of the uudecoder in the
global config, you could have a Rexx script decode then start the .wav
player. Even if a .cmd file fails, "cmd.exe /c play.cmd" should work.

For example, normally it looks something like this;

# program that decodes MIME message
decode-mime=uudeview -io -p x:\tmp %f

But you replace the above with this;

# program that decodes MIME message
decode-mime=decodAndplay.cmd

Then you create decodeAndplay.cmd which runs the decoder and wav
player.

rem -- decodAndplay.cmd --
uudeview -io -p x:\tmp %f
play.exe %f

Hmmm, %f probably won't be the proper filename, you'll have to use
SysFileTree or some method of finding the name of the *.wav, then play
it.

-- 
Phil Crown
pcrown@airmail.net
http://web2.airmail.net/pcrown/