On 27 August 2008, 02:33, Thomas Fernandez wrote: JF>> Is it possible to have a external Command executed and the Output of it JF>> inserted into the Template? Would be interesting... JF>> (i never did this)
> An internal command (%Cookie=) will insert the cookie. Why would you > want to use an external command for that? ~~~ You might want to include some time-variable information, such as how many days remain to an epic trip, or something as mundane as what is currently playing on Winamp. See the last line of my sig? This was created with a Winamp plugin called VTitleSpy that generates a text file containing just that last line, which it keeps up to date so that you know I was actually listening to Afro Celt Sound System while typing this message. To insert the text output from an external command, use the PUT macro, in my case it's: %PUT="c:\temp\vtitlespy.txt" Thinking about it, another reason you might want to insert the ouptut from an external command is to mark each message with a hash of the current date/time so that your mail server can detect whether bounces are from you or whether they're backscatter from the activities of spammers etc. At least one firewall device uses this method to filter out backscatter, so I suspect it'd be worthwhile if you get lots of that. I suspect there are many other reasons why someone might want to include the output of an external program, and that I've merely scratched the surface. HTH, -- Geoff Lane Cornwall, UK -- Using The Bat! v1.62r on Windows XP 5.1 Build 2600 Service Pack 3 <squawk>pieces of eight; <squawk>pieces of eight; <squawk>pieces of nine; SYSTEM HALTED parroty error Winamp now playing "Afro Celt Sound System - Even In My Dreams" ________________________________________________ Current version is 4.0.24.0 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html

