Re: calling an external command from send-hook

2002-09-11 Thread Rob Park
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

Re: calling an external command from send-hook

2002-09-11 Thread Michael Elkins
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

Re: calling an external command from send-hook

2002-09-11 Thread David Champion
* 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

Re: calling an external command from send-hook

2002-09-11 Thread Burton Samograd
> > 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

Re: calling an external command from send-hook

2002-09-11 Thread Michael Elkins
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

Re: calling an external command from send-hook

2002-09-11 Thread Burton Samograd
> 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

Re: calling an external command from send-hook

2002-09-11 Thread Sven Guckes
* 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

calling an external command from send-hook

2002-09-11 Thread Burton Samograd
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