<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: Command Line Syntax for Run External Program with Filter]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in Command Line Syntax for Run External Program with Filter of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Fri, 24 Aug 2012 02:27:57 +0300</lastBuildDateTag>		<item>
			<title>Command Line Syntax for Run External Program with Filter</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum5/topic799/message34961/">Command Line Syntax for Run External Program with Filter</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum5/">The Bat! - Filters</a>. <br />
			Assign two actions to your filter, first action exports the message to a file, something like c:\test\message.txt<br />Second action runs external program, define the full path to the program, like c:\python\python.exe and add the proper pararameters, like the full path of the exported message. <br />
			<i>24 August 2012 02:27:57, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum5/topic799/message34961/</link>
			<guid>http://www.ritlabs.com/en/forums/forum5/topic799/message34961/</guid>
			<pubDate>Fri, 24 Aug 2012 02:27:57 +0300</pubDate>
			<category>The Bat! - Filters</category>
		</item>
		<item>
			<title>Command Line Syntax for Run External Program with Filter</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum5/topic799/message34960/">Command Line Syntax for Run External Program with Filter</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum5/">The Bat! - Filters</a>. <br />
			Hi<br /><br />how can I capture the whole messaga (%1) in a python script:<br /><br />pyton "z:\fb send\t.py" %1<br /><br />and the script is:<br /><br />import sys<br />txt=sys.stdin.readlines()<br />print &gt;&gt; open('z:\\afsfa', 'a'),txt<br /><br />Thanks. <br />
			<i>24 August 2012 00:58:49, <a href="http://www.ritlabs.com/en/forums/">az sam</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum5/topic799/message34960/</link>
			<guid>http://www.ritlabs.com/en/forums/forum5/topic799/message34960/</guid>
			<pubDate>Fri, 24 Aug 2012 00:58:49 +0300</pubDate>
			<category>The Bat! - Filters</category>
		</item>
		<item>
			<title>Command Line Syntax for Run External Program with Filter</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum5/topic799/message3426/">Command Line Syntax for Run External Program with Filter</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum5/">The Bat! - Filters</a>. <br />
			Use two actions. First export the message to a named file ("c:\temp\alert.txt") using a template containing:<br /><br />%from<br />%subj<br /><br />then use the Run external action as <br /><br />C:\WINDOWS\system32\notepad.exe c:\temp\alert.txt <br />
			<i>18 January 2005 05:34:41, <a href="http://www.ritlabs.com/en/forums/">Marck Pearlstone</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum5/topic799/message3426/</link>
			<guid>http://www.ritlabs.com/en/forums/forum5/topic799/message3426/</guid>
			<pubDate>Tue, 18 Jan 2005 05:34:41 +0200</pubDate>
			<category>The Bat! - Filters</category>
		</item>
		<item>
			<title>Command Line Syntax for Run External Program with Filter</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum5/topic799/message3414/">Command Line Syntax for Run External Program with Filter</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum5/">The Bat! - Filters</a>. <br />
			Hello,<br /><br />This syntax will pop up notepad to alert us as a filter:<br /><br />C:\WINDOWS\system32\notepad.exe %1<br /><br />But, in the window of notepad, it shows the ENTIRE email.<br /><br />Rather than the WHOLE message, we would like a filter that pops up notepad but shows <I><B>only</B></I> the FROM and the SUBJECT lines.<br /><br />How should we write that line?<br /><br />We tried:<br /><br />C:\WINDOWS\system32\notepad.exe %FROM<br /><br />but that created an error.<br /><br />Many thanks,<br /><br />G2<br /> &nbsp; <br />
			<i>18 January 2005 00:17:03, <a href="http://www.ritlabs.com/en/forums/">g2r1-ub9o</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum5/topic799/message3414/</link>
			<guid>http://www.ritlabs.com/en/forums/forum5/topic799/message3414/</guid>
			<pubDate>Tue, 18 Jan 2005 00:17:03 +0200</pubDate>
			<category>The Bat! - Filters</category>
		</item>
	</channel>
</rss>
