On Fri, May 18, 2001 at 02:13:26PM +0530, Suresh Ramasubramanian wrote:
> Biju Chacko [mutt-users] <18/05/01 14:08 +0530>: 
> 
> > I was wondering if it would be possible to call them directly from mutt. I could
> > not find anything in the manual about this. I am thinking in terms of something
> > like:
> >     macro index <f5> "!/home/biju/bin/somescript.sh $from_address\n"
> > Is this possible? Or do I have to use formail? Or am I on the wrong track
> > altogether and there is some different, easier approach ?
>  
>  This should work quite well.

it doesn't.

> 
>  For example, I use
> 
>  macro generic <f1> "!less /usr/doc/mutt/manual.txt\n" "Show Mutt documentation"
>  macro index   <f1> "!less /usr/doc/mutt/manual.txt\n" "Show Mutt documentation"
>  macro pager   <f1> "!less /usr/doc/mutt/manual.txt\n" "Show Mutt documentation"

I too use the same macros. My question was whether it was possible to pass the
from address of the current mail to a macro easily ? I know it's possible to do
it with formail, but I am looking for something a little more direct.

Biju

-- 
-------------------------------------------------
Biju Chacko        | [EMAIL PROTECTED] (work)            
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-------------------------------------------------

Reply via email to