<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: Auto-reply macro to properly capitalize names]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in Auto-reply macro to properly capitalize names of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Sat, 13 Mar 2010 17:06:04 +0200</lastBuildDateTag>		<item>
			<title>Auto-reply macro to properly capitalize names</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic9296/message31462/">Auto-reply macro to properly capitalize names</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Roelof!<br /><br />I had accidentally deleted an underscore (sorry! you had gone through the effort to put it in to make it all work!) which caused the problem.<br /><br />I put it back in and it works perfectly =D<br /><br />(I posted the macro + html question to the forum as a new topic, so I'll see if I can get help that way)<br /><br />Thanks again for all your help! <br />
			<i>13 March 2010 17:06:04, <a href="http://www.ritlabs.com/en/forums/">Raiman Au</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic9296/message31462/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic9296/message31462/</guid>
			<pubDate>Sat, 13 Mar 2010 17:06:04 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Auto-reply macro to properly capitalize names</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic9296/message31460/">Auto-reply macro to properly capitalize names</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			And as I don't use HTML in messages, I'm not sure to correct you're second issue. <br />
			<i>13 March 2010 16:34:40, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic9296/message31460/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic9296/message31460/</guid>
			<pubDate>Sat, 13 Mar 2010 16:34:40 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Auto-reply macro to properly capitalize names</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic9296/message31459/">Auto-reply macro to properly capitalize names</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Off hand I caný tell you what's going wrong. Though I guess you might be mismatching the number of underscores, as I used the underscore to limit the string that was to to be capitalized. (You ran out of single and double quotation marks.)<br />Could you post your entire template? <br />
			<i>13 March 2010 16:33:40, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic9296/message31459/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic9296/message31459/</guid>
			<pubDate>Sat, 13 Mar 2010 16:33:40 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Auto-reply macro to properly capitalize names</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic9296/message31458/">Auto-reply macro to properly capitalize names</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Roelof, thank you for the solution and such a quick reply! And to think that you don't even work for Ritlabs. Fantastic!<br /><br />Your solution works!<br /><br />But now I've run into two more issues now that I've tried moving on to the next step.<br /><br />1. I added more text afterwards, and the entire email now is capitalied, not just the name.<br /><br />2. If I try to add an HTML message afterward (no longer plain text), none of the macros work anymore!<br /><br />I know #2 is a completely different issue, but it'd be great if I could get some help there as well.<br /><br />Thank you! <br />
			<i>13 March 2010 12:24:12, <a href="http://www.ritlabs.com/en/forums/">Raiman Au</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic9296/message31458/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic9296/message31458/</guid>
			<pubDate>Sat, 13 Mar 2010 12:24:12 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Auto-reply macro to properly capitalize names</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic9296/message31457/">Auto-reply macro to properly capitalize names</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Change it into:<br /><br />%To=""%To="%SetPattRegExp='(?is)(.*?)Sender\n(.*?)\n'%- <br />%RegExpBlindMatch='%Text'%- <br />%Capital=_%SubPatt='2' %SubPatt='3'_ %-<br />&lt;%SetPattRegExp='(?is)(.*?)\((.*?)\)'%- <br />%RegExpBlindMatch='%Text'%- <br />%SubPatt='2'%SubPatt='3'&gt;"%- <br />%Subject="%SetPattRegExp='(?is)(.*?)Sender\n(.*?)\s'%- <br />%RegExpBlindMatch='%Text'%- <br />%Capital=_%SubPatt='2' %SubPatt='3'_, Thank You!"%- <br />Hi %SetPattRegExp='(?is)(.*?)Sender\n(.*?)\s'%- <br />%RegExpBlindMatch='%Text'%- <br />%Capital=_%SubPatt='2'%SubPatt='3'_! <br />
			<i>13 March 2010 11:50:39, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic9296/message31457/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic9296/message31457/</guid>
			<pubDate>Sat, 13 Mar 2010 11:50:39 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Auto-reply macro to properly capitalize names</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic9296/message31455/">Auto-reply macro to properly capitalize names</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			After digging through these forums I finally found out how to extract a name and email address from emails that I receive, but then I got stuck when a name came in all capitals.<br /><br />Looking for a way to correct it automatically.<br /><br />So here's an example of part of an email I might get:<br /><br /><br /><br />Sender<br />ALBERT EINSTEIN<br />albert@einstein.com<br /><br /><br /><br /><br />And for that, I use the following macros to generate an automated reply:<br /><br /><br /><br /><br />%To=""%To="%SetPattRegExp='(?is)(.*?)Sender\n(.*?)\n'%-<br />%RegExpBlindMatch='%Text'%-<br />%SubPatt='2'%SubPatt='3'<br />&lt;%SetPattRegExp='(?is)(.*?)\((.*?)\)'%-<br />%RegExpBlindMatch='%Text'%-<br />%SubPatt='2'%SubPatt='3'&gt;"%-<br />%Subject="%SetPattRegExp='(?is)(.*?)Sender\n(.*?)\s'%-<br />%RegExpBlindMatch='%Text'%-<br />%SubPatt='2'%SubPatt='3', Thank You!"%-<br />Hi %SetPattRegExp='(?is)(.*?)Sender\n(.*?)\s'%-<br />%RegExpBlindMatch='%Text'%-<br />%SubPatt='2'%SubPatt='3'!<br /><br /><br /><br /><br /><br /><br />And that results in the following automatic email:<br /><br /><br /><br />To: ALBERT EINSTEIN &nbsp;&lt;albert@einstein.com&gt;<br />Subject: Albert, Thank You!<br /><br />Body: Hi ALBERT!<br /><br /><br /><br /><br /><br />I'd love to generate the message while correcting the capitalization to Albert Einstein. <br /><br />I found some macros like:<br />CAPITALFIRST="text"<br />UCFIRST="text"<br />CAPITAL="text"<br /><br />Which might be helpful, but I have no idea how to insert them into the existing macro if they are.<br /><br />Would someone help me out?<br /><br />Thank you! <br />
			<i>13 March 2010 08:55:45, <a href="http://www.ritlabs.com/en/forums/">Raiman Au</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic9296/message31455/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic9296/message31455/</guid>
			<pubDate>Sat, 13 Mar 2010 08:55:45 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
	</channel>
</rss>
