Thread View: news.software.nn
1 messages
1 total messages
Started by David Wolfe
Wed, 18 Jan 1995 20:09
Re: how to get macros to work
Author: David Wolfe
Date: Wed, 18 Jan 1995 20:09
Date: Wed, 18 Jan 1995 20:09
38 lines
1922 bytes
1922 bytes
In <3fhivcINNrcf@daffy.sps.mot.com> hunter@risc.sps.mot.com (Hunter Scales) writes:
> I cant seem to get the macro capability to
> work. Below is that text of a macro that will mail a
> file (while in the read mode) to a person at another site.
> I use :define 1 to define the macro and then attempt to
> execute it with
> :macro 1. I get and error message: Command 257 not supported
>Macro file:
>'m'
>"foo@somewhere.edu"
>'^m'
>'n'
>end
>this is supposed to
>1) invoke the "mail" command ('m')
>2) set the "To:" line to foo@somewhere.edu
>3) send no subject line ('^M')
>4) not edit the file ('n')
I got the same results as you did when I tried to invoke the macro with
":macro 1", but when I mapped a key to the macro, it worked fine, once
I supplied an answer to the first prompt: "Include original article?".
Setting a null subject just defaults the original subject, but you
probably knew that. My version of the macro is as follows:
:define 1
DEFINE MACRO 1 -- END WITH 'end'
mail yes "foo@somewhere.edu" "" no
end
:map show 1 macro 1
--
Dave Wolfe | 6501 William Cannon Dr. W. | (512) 891-3246
Motorola MMTG | Austin, TX 78735-8598 | dwolfe@pets.sps.mot.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads