Quoth E. Prom on Tuesday, 31 August 2010:
> On Monday, 30 August 2010, 17:39:44 -0700,
> Chip Camden <sterl...@camdensoftware.com> wrote:
> > Quoth fe...@crowfix.com on Monday, 30 August 2010:
> > > Is there a way to assign an external command to a key which will be
> > > passed the path to the message?  For instance, if I write a dumb
> > > little shell script to move a message into the spam maildir ...
> > > 
> > >     #!/bin/sh
> > >     mv -i "$@" ~/Maildirs/junk/new
> 
> > If you just want to move the message, use <save-message>.  But you can
> > always define a macro that pipes the message to a script, and then you
> > can do whatever you want with it.
> 
> I don't think you can get the name of the file in your maildir, but you
> can use <save-message>, or <pipe-message> followed by <delete-message>
> in a macro.
> 
> Quite obvious, but I wanted E Prom to respond to Chip ;)

Heh -- we're almost the same, but I can be more volatile.  ;)

-- 
Sterling (Chip) Camden    | sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com        | http://chipsquips.com

Attachment: pgpXW6NOxDSSU.pgp
Description: PGP signature

Reply via email to