<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: Macro in macro possible?]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in Macro in macro possible? of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Thu, 30 Nov 2006 23:39:01 +0200</lastBuildDateTag>		<item>
			<title>Macro in macro possible?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic3625/message14902/">Macro in macro possible?</a></b> <i>How to use nested macros</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			% is not needed at the end, %- is a macro, which removes CRLF <br />
			<i>30 November 2006 23:39:01, <a href="http://www.ritlabs.com/en/forums/">Marek Mikus</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic3625/message14902/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic3625/message14902/</guid>
			<pubDate>Thu, 30 Nov 2006 23:39:01 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Macro in macro possible?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic3625/message14062/">Macro in macro possible?</a></b> <i>How to use nested macros</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Thank you very much Roelof!<br /><br />This way it works. I was not aware I should put % at the end, not to mention the "-" sign after it - nothing about this in the help. When are these needed? <br />
			<i>30 September 2006 22:57:20, <a href="http://www.ritlabs.com/en/forums/">bigg one</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic3625/message14062/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic3625/message14062/</guid>
			<pubDate>Sat, 30 Sep 2006 22:57:20 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Macro in macro possible?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic3625/message14057/">Macro in macro possible?</a></b> <i>How to use nested macros</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			I tried several varieties and all of these work, though I like the first best.<br /><br />%SetHeader(X-sUID,%Put('C:\Temp\pet.txt'))%-<br />%SetHeader(X-sUID,"%Put('C:\Temp\pet.txt')")%-<br />%SetHeader(X-sUID,%Put='C:\Temp\pet.txt')%-<br />%SetHeader(X-sUID,"%Put='C:\Temp\pet.txt'")%-<br /><br />I tested this with TB 3.85.03 (latest release) what version are you using?<br />Are you sure you're pointing to an existing file?<br />The reason that I didn't point to a file in the root directory of C: is that I'm running a restricted user account under Windows and therefore I lack the writing rights needed to create an appropriate file file in the root. <br />
			<i>30 September 2006 13:21:03, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic3625/message14057/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic3625/message14057/</guid>
			<pubDate>Sat, 30 Sep 2006 13:21:03 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Macro in macro possible?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic3625/message14052/">Macro in macro possible?</a></b> <i>How to use nested macros</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Hi,<br /><br />I need to use one macro in another.<br /><br />To be specific, I need to use a macro in a template, which inserts a custom header.<br />The custom header has name and value (not sure if these are the correct terms).<br />If I put something like<br />%SETHEADER(X-sUID,"HEADER_VALUE")<br />,this works OK. <br /><br />But I want HEADER_VALUE to be retrieved from a .txt file.<br /><br />I tried <br />%SETHEADER(X-sUID,"%PUT='C:\test.txt'")<br />%SETHEADER(X-sUID,'%PUT="C:\test.txt"')<br />%SETHEADER(X-sUID,%PUT=#"C:\test.txt"#)<br /><br />and several other variations, however the custom header is not inserted.<br />Can this be done and which is the correct way?<br /><br />Thanks. <br />
			<i>29 September 2006 21:14:05, <a href="http://www.ritlabs.com/en/forums/">bigg one</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic3625/message14052/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic3625/message14052/</guid>
			<pubDate>Fri, 29 Sep 2006 21:14:05 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
	</channel>
</rss>
