Chris,

* On Sun, Jun 07, 2015 02:44PM -0400 Chris Spackman ([email protected]) 
muttered:
>    macro index,pager X "<pipe-message>ripmime -i - -d "
> 
> but you have to "press any key to continue" after it finishes

that depends - see $wait_key.

For instance you could use a macro like:

# extract all attachments
macro index X '<enter-command> set my_wk=$wait_key; unset wait_key<enter>\
<pipe-message> ripmime --paranoid -i - -d ~/attachments<enter>\
<enter-command> set wait_key=$my_wk<enter>' "save all attachements"

Which resets $wait_key to whatever it was before, after it's done.
Also note that commands starting with a blank " ripime..." don't clutter
the history. 

HTH,

Michael
-- 
PGP-Key-ID:     EEE7D043
Jabber:         [email protected]

Reply via email to