Re: defining a macro to sz an attachment

2000-09-02 Thread John Buttery
The shell script sounds like a good idea; I'm trying to implement it but I'm getting a funny error when I try to execute this: macro attach o ":pipe-entry\ncat /tmp/001 ; sz /tmp/001\n" "Send file" It's saying "key is not bound" when a quick check of the "?" help screen shows clearly that

Re: defining a macro to sz an attachment

2000-09-02 Thread Michael Tatge
Hi, John Buttery muttered: macro attach o ":pipe-entry\ncat /tmp/001 ; sz /tmp/001\n" "Send file" pipe-entry is a function, no ':' needed :) macro attach o "pipe-entrycat /tmp/test"\n should work HTH, Michael -- It was kinda like stuffing the wrong card in a computer, when you're stickin'

Re: defining a macro to sz an attachment

2000-09-02 Thread Mikko Hänninen
John Buttery [EMAIL PROTECTED] wrote on Sat, 02 Sep 2000: In other news, I tried the shell script idea I think that's the right approach, though it could be done in just Mutt macros too probably... But in a shell script you can use a temp filename and check it doesn't exist and all that kind

Re: defining a macro to sz an attachment

2000-09-01 Thread David McNett
On 31-Aug-2000, Michael Elkins wrote: On Thu, Aug 31, 2000 at 08:04:23AM -0500, John Buttery wrote: Basically, the end result is that if I have a file called "stressre1.exe" (for example) attached to an email, I can write a macro that when invoked will do "sz stressre1.exe" as if I had

Re: defining a macro to sz an attachment

2000-08-31 Thread Michael Elkins
On Thu, Aug 31, 2000 at 08:04:23AM -0500, John Buttery wrote: Basically, the end result is that if I have a file called "stressre1.exe" (for example) attached to an email, I can write a macro that when invoked will do "sz stressre1.exe" as if I had saved the attachment, exited mutt, and