At some time around 13 Jul 99 22:51:58 +0000
Paul Cundle had a brainwave about [netconnect] Re: Arexx and MD2:
> According to Jon, there's something good going on and it's
> something to do with [netconnect] Re: Arexx and MD2.
> > >
> G'day, Jon
>
> > I didnt really grasp what msgs and what your wanting todo, but try
> > playing about with this,
> >
> > 'ExtractSelectedMsgs FILE 'filename' PART=1 APPEND NOREQ'
>
> Thanks. I've tried that and I've set up a button to save the message
> as ram:textfile.
> I then want to run it through an external program but can't work out
> how. The options I can see are
>
> 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........
> 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. Address MD.1 allows it to be run
externally.
---script---
Address MD.1
'ExtractSelectedMsgs FILE 'filename........
Address SomeOtherArexxProgram.1
'SomeOtherProgramCommand ... '
Address MD.1
'AnotherMDCommand......'
'AndAnotherMD....'
Address Command 'SomeDosProgram 'filename
NameOfAnArexxScript
---------
>
> c) If (b) is possible, could I execute both commands (ie
> ExtractSelectedMsgs and the external prog) from one button? I tried
> putting a semicolon between commands but it didn't work.
Thats possible, just cant remember offhand how.
>
> Thanks again,
> Paul C,
Jon
_____________________________________________________________
NetConnect mailing list. To unsubscribe, send an 'unsubcribe'
message to <[EMAIL PROTECTED]>