<<< Date Index >>>     <<< Thread Index >>>

Saving attachment to directory, round two



I have read through the "saving attachment to directory" April 15-16
thread a few times, and while it does get me half way to what I would
like to do I wouldn't mind if it is possible to go the rest of the way
too.

How would I insert a message's subject as the file name when saving an
attachment? So far I have:

macro attach W "<save-entry><bol>~/wp/"

which isn't particularly odd. Let's say the message has the subject
"Some text". Then, I would like to make mutt default to saving the
attachment (I don't care about multiple attachments in this case - if
it ever becomes an issue, I can handle that on a case-by-case basis)
as "~/wp/Some text.txt".

Any pointers on how to accomplish this are greatly appreciated.

-- 
/"\ Michael Kjörling - michael@xxxxxxxxxxxx - SM0YBY QTH JO89XI ^..^
\ / OpenPGP: 3723 9372 c245 d6a8 18a6  36ac 758f 8749 bde9 ada6  \/
 X  World Wide Web: http://michael.kjorling.com/ - 0740 458 634
/ \ ASCII Ribbon Campaign - Against HTML Mail, Proprietary Attachments

Attachment: pgp2FnMNqIOq5.pgp
Description: PGP signature