I just read a /very/ interesting mail where you said about [netconnect] Re: Arexx and
MD2:
> >
> > a) Executing ExtractSelectedMsgs through an Arexx script. I've tried
> > but this won't work - is it just my lack of rexx knowledge or is this
> > not possible?
>
> Guessing there is only 1 instance of MD running..
>
> Address MD.1
> 'ExtractSelectedMsgs FILE 'filename........
Put simply: Doh! That's what I wanted. I've just realised that I
didn't have it enclosed in inverted commas.
BTW, the filename has to be enclosed in "" rather than '' it seems.
>
> > b) I could set up another button to run the external program - but
> > buttons only seem to allow arexx commands. Is it possible to
> > execute DOS commands?
>
> I dont think there is really much difference between an Arexx
> command and a file, so you can type any name as the action in a
> button and it will try be run as a script.
I've tried entering:
c:theprogram fileextractedfrommd2
into the Action string in MD2, both enclosed in quotes and not
enclosed. The second accesses the HD for a bit but neither actually
work.
However, entering:
rx myscript.rexx as a button action does work.
So now, with the other stuff you've told me, I can.....wait for
it......decode messages in rot13 and have them displayed instantly!
I will use it for other things as well though.
> Address Command 'SomeDosProgram 'filename
Always wondered how you access a DOS prog from within an Arexx script.
It's going to make my sequence for connecting with Genesis a lot
simpler now!
> Jon
Thanking you muchly,
Paul C, livin' la vida loca.
--
.. "Bother," said Pooh, as the dark wet patch spread out from his crotch
_____________________________________________________________
NetConnect mailing list. To unsubscribe, send an 'unsubcribe'
message to <[EMAIL PROTECTED]>