On 2015/06/09 at 01:42pm, Michael Tatge wrote: > * 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.
Ha, wonderful mutt, I should have know there would be a variable for this. Thanks! > 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. Awesome, thank you for this. -- Chris Spackman GNU Terry Pratchett
