Alas! Burton Samograd spake thus:
> >
> > No, it won't. send-hook only allows you to execute configuration
> > commands, like you would put in a muttrc. What he's trying to do is
> > execute one of Mutt's interactive functions. There is no "exec"
> > configuration command which allows you to r
Burton Samograd wrote:
> Ah, i thought that might be the problem. Would there be any way of
> actually doing what i'm trying to do? Maybe setting up a macro and
> then calling that from send-hook?
You could try to use the push command to simulate keystrokes, but that
won't be executed until the
* On 2002.09.11, in <[EMAIL PROTECTED]>,
* "Michael Elkins" <[EMAIL PROTECTED]> wrote:
>
> No, it won't. send-hook only allows you to execute configuration
> commands, like you would put in a muttrc. What he's trying to do is
> execute one of Mutt's interactive functions. There is no "ex
>
> No, it won't. send-hook only allows you to execute configuration
> commands, like you would put in a muttrc. What he's trying to do is
> execute one of Mutt's interactive functions. There is no "exec"
> configuration command which allows you to run an external program.
Ah, i thought that
Sven Guckes wrote:
> * Burton Samograd <[EMAIL PROTECTED]> [2002-09-11 16:55]:
> > I'm trying to get mutt to call an external command
> > from a send-hook like in the following muttrc line:
> > send-hook . '!sched.log Testing send hook\n'
> >
> > but it always just says "!sched.log command not f
> have you tried by calling the script with its
> full path, ie with "!/path/script foo bar"?
> this *ought* to work!
i've tried a number of variations with path and other commands (like
"!echo Testing > ~/mutt.log" ) and i keep getting the unknown command
error :-/ i know this *should* work but
* Burton Samograd <[EMAIL PROTECTED]> [2002-09-11 16:55]:
> I'm trying to get mutt to call an external command
> from a send-hook like in the following muttrc line:
> send-hook . '!sched.log Testing send hook\n'
>
> but it always just says "!sched.log command not found" after setting
> to and su
Morning,
I'm trying to get mutt to call an external command from a send-hook
like in the following muttrc line:
send-hook . '!sched.log Testing send hook\n'
but it always just says "!sched.log command not found" after setting
to and subject from a message. Is it possible to use ! in a send
hoo