Mark Weinem <[EMAIL PROTECTED]> wrote on Mon, 23 Oct 2000:
> Is it possible to attach a file via macro?
Sure.
> This doesn't work:
>
> macro compose <f2> "attach-file=/home/mark/templates/mime"
>
> Perhaps it would be more elegant if the macro just offers the
> templates directory and the user chooses the attachment he wants.
Well, you can make it attach a specific file, or make it present a
directory.
Attach a file:
macro compose <f2> '<attach-file>/path/to/file<enter>'
Open up a directory:
macro compose <f2> '<attach-file>/path/to/dir/<complete>'
Untested, but I hope those work. :-) If not, you can try replacing
<enter> with \n and <complete> with \t.
Regards,
Mikko
--
// Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/
// The Corrs list maintainer // net.freak // DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"Time's fun when you're having flies." -- Kermit the Frog