This macro which could be an autocommand of course, works okay but does not send the output to pager which I want.
macro index z "<view-attachments><search>text<enter><pipe-entry>translate_script<enter>" -- - Eric Smith Eric Smith said: > I want to run a translation script automatically when viewing a > mail in the pager. The output of the script should be displayed > in the pager. > > What I do now is go into the attachment menu and then pipe to the > script. Works perfectly but is too manual. > But the automatic method should also send only the text part > to the script (and pager) and only the body and not the headers > although Subject: would be nice I guess. > > Thank you > > Eric Smith > **** GOOGLE TRANSLATION com numeração à linguagem [pt] *****: > 1] Eu quero executar um script de tradução automática ao ver um e- > mail no pager. > > 2] A saída do script deve ser exibido no pager. > > 3] O que quero fazer agora é ir para o menu de penhora e, em seguida, > tubulação para o script. > > 4] Funciona perfeitamente, mas é muito manual. > > 5] Mas o método automático também deve enviar apenas uma parte do texto > para o script (e pager) e apenas o corpo e não os cabeçalhos embora > Assunto: seria bom eu acho. > > 6] Obrigado Eric Smith > > > **** Original de novo na língua [en]: ***** > 1] I want to run a translation script automatically when viewing a mail in > the pager. > 2] The output of the script should be displayed in the pager. > 3] What I do now is go into the attachment menu and then pipe to the > script. > 4] Works perfectly but is too manual. > 5] But the automatic method should also send only the text part to the > script (and pager) and only the body and not the headers although > Subject: would be nice I guess. > 6] Thank you Eric Smith