Re: Exec macro?
Hallo tb, On Mon, 2 Feb 2004 19:06:19 -0600GMT (3-2-04, 2:06 +0100, where I live), you wrote: If you can direct the output to disk, you can import the text with %include. tko Would that allow me to set one of the messages headers to the value tko in the file on disk? I plan to write a simple macro plugin if not. Yes. Supposing the output is the value you'd like to insert as subject, you'd need this macro: %Subject=%input='c:\output.txt' -- Groetjes, Roelof Current version is 2.02.3 CE | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Exec macro?
-- Tuesday, February 3, 2004, 7:10:11 AM, [EMAIL PROTECTED] wrote: Hallo tb, On Mon, 2 Feb 2004 19:06:19 -0600GMT (3-2-04, 2:06 +0100, where I live), you wrote: If you can direct the output to disk, you can import the text with %include. tko Would that allow me to set one of the messages headers to the value tko in the file on disk? I plan to write a simple macro plugin if not. Yes. Supposing the output is the value you'd like to insert as subject, you'd need this macro: %Subject=%input='c:\output.txt' With that possible is there any way to execute the program which generates this included file just before the macro in the template is? Current version is 2.02.3 CE | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Exec macro?
Hallo tb, On Tue, 3 Feb 2004 12:23:05 -0600GMT (3-2-04, 19:23 +0100, where I live), you wrote: tko With that possible is there any way to execute the program which tko generates this included file just before the macro in the template is? In a filter? Yes. -- Groetjes, Roelof Current version is 2.02.3 CE | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Exec macro?
-- Tuesday, February 3, 2004, 12:46:37 PM, [EMAIL PROTECTED] wrote: Hallo tb, On Tue, 3 Feb 2004 12:23:05 -0600GMT (3-2-04, 19:23 +0100, where I live), you wrote: tko With that possible is there any way to execute the program which tko generates this included file just before the macro in the template is? In a filter? Yes. No not a filter, a New or Reply template. I'm going to assume not. Let me know if that's an incorrect assumption. Thanks for all your replies thus far. I am going to write an exec macro. Current version is 2.02.3 CE | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Exec macro?
Hallo tb, On Tue, 3 Feb 2004 14:17:26 -0600GMT (3-2-04, 21:17 +0100, where I live), you wrote: tko With that possible is there any way to execute the program which tko generates this included file just before the macro in the template is? In a filter? Yes. tko No not a filter, a New or Reply template. You could try the %Run macro from MyMacros by Andrew Perevodchik, you can find that plug-in at: http://en.barin.com.ua/soft/mymacros/ I don't have any experience with it, but it looks like it should work. -- Groetjes, Roelof Current version is 2.02.3 CE | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Exec macro?
Hallo tb, On Mon, 2 Feb 2004 10:51:07 -0600GMT (2-2-04, 17:51 +0100, where I live), you wrote: tko Is there any existing macro which will allow me to retrieve tko the stdout of an executed commandline application? If you can direct the output to disk, you can import the text with %include. From the help: INCLUDE = filepathinsert the text generated by the template located in the file determined by the filepath -- Groetjes, Roelof Current version is 2.02.3 CE | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Exec macro?
-- Monday, February 2, 2004, 12:47:46 PM, [EMAIL PROTECTED] wrote: Hallo tb, On Mon, 2 Feb 2004 10:51:07 -0600GMT (2-2-04, 17:51 +0100, where I live), you wrote: tko Is there any existing macro which will allow me to retrieve tko the stdout of an executed commandline application? If you can direct the output to disk, you can import the text with %include. From the help: INCLUDE = filepathinsert the text generated by the template located in the file determined by the filepath Would that allow me to set one of the messages headers to the value in the file on disk? I plan to write a simple macro plugin if not. Current version is 2.02.3 CE | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html