* 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 "exec" > configuration command which allows you to run an external program.
You can play tricks, though. For instance: send-hook . 'source "sched.log.sh Testing send hook|"' ----sched.log.sh---- #!/bin/sh ## Any stdout will be parsed by mutt as configuration commands sched.log "$@" >/dev/null 2>&1 ----sched.log.sh---- I haven't tried this particular example, but the principle should be sound. You can use this to make/modify the hooks on the fly, too. -- -D. We establised a fine coffee. What everybody can say Sun Project, APC/UCCO TASTY! It's fresh, so-mild, with some special coffee's University of Chicago bitter and sourtaste. "LET'S HAVE SUCH A COFFEE! NOW!" [EMAIL PROTECTED] Please love CAFE MIAMI. Many thanks.