macro to include output of an external program?
Hello, is there a macro that can aid in including the output of an external program in a template? Basically I'd like to be able to specify something like: --- Dear -%ExecuteExternalProgram=c:\progs\myprog.bat -d1- bla bla --- and have it expanded into something like --- Dear -this text was generated by myprog.bat- bla bla --- I realize I could use a %Put=file.txt macro when file.txt already contains the output text that myprog.bat generated. But in that case how can I start myprog.bat from within TB before the %Put macro is invoked? - Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! Current version is 1.62 | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: macro to include output of an external program?
Hello SGP, On Tuesday, March 25, 2003 at 12:36 AM, Sgp heard voices say: is there a macro that can aid in including the output of an external program in a template? No. Or at least, not yet. Note that if this template is for a filter generated message, you could use the filter's run program action to create the output. Then use a %PUT as you discussed. -- Thanks for writing, Januk Aggarwal Current version is 1.62 | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html