On 2022-10-27, cjsmall wrote:
Now that I have a Christian Ebert's filter program to display HTML messages with their embedded images, I've written a macro to filter these messages from the index and pager menus as follows:
macro index A |viewhtmlmsg\n
macro pager A |viewhtmlmsg\n
This works great.
I'd like to add a macro that does the same thing from the attach page, but the default is to only pipe out the selected attachment. I'm looking for a command like the non-existent <save> or <write> that sends the entire
message to stdout regardless of which page you are on. I've tried
<save-message> but it prompts for a location.
Is there another command that does the job or is there a way to instruct
<save-message> to write to stdout? I even tried:
Hmm, I guess you have two options, you could do something like this:
macro attach A "<save-message>/tmp/viewmsg<Enter><shell-escape>viewhtmlmsg /tmp/viewmsg<Enter>"
If that's not really what you were hoping for, I think your only option
is to leave the attachment screen:
macro attach A "<exit><pipe-message>viewmsg<Enter>"
Although you could go back when you're done...
macro attach A "<exit><pipe-message>viewmsg<Enter><view-attachments>"
Tavis.
--
_o) $ lynx lock.cmpxchg8b.com
/\\ _o) _o) $ finger
[email protected]
_\_V _( ) _( ) @taviso
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)