<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: Tomorrow's date on the subject]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in Tomorrow's date on the subject of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Fri, 01 Jan 2021 22:32:53 +0200</lastBuildDateTag>		<item>
			<title>Tomorrow's date on the subject</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic15175/message51239/">Tomorrow's date on the subject</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			After much thought, I think I have found a solution.<br /><br />1. I create a Powershell script to give me tomorrow&#39;s date. c:/tomorrow.ps1<br /> &nbsp; &nbsp; $a = (Get-Date).adddays(1)<br /> &nbsp; &nbsp; $b = Get-Date $a -DisplayHint Date; <br /> &nbsp; &nbsp; $b | Out-File -FilePath c:\tomorrow.txt<br /><br />This way it creates a file with the date in txt. <br /><br />2. Then I create a batch file (BAT extension) c:/tomorrow.bat<br /> &nbsp; &nbsp; ECHO OFF<br /> &nbsp; &nbsp; PowerShell.exe -Command &quot;C:tomorrow.ps1&quot;<br /><br />3. I create a shortcut of the file tomorrow.bat in C:\Users\&lt;user&gt;\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup<br /><br />This way every time you start windows, the file will be updated with the desired date.<br /><br />4. Then in &#39;The Bat!&#39;, when you create a template, you only have to paste:<br />%SUBJECT=&quot;The text you want - %PUT=&#39;c:/tomorrow.txt&#39;&quot;<br /><br />If anyone can think of an easier way, please comment.<br />Thanks <br />
			<i>01 January 2021 22:32:53, <a href="http://www.ritlabs.com/en/forums/">Juan Miguel García Bernal</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic15175/message51239/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic15175/message51239/</guid>
			<pubDate>Fri, 01 Jan 2021 22:32:53 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Tomorrow's date on the subject</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic15175/message51225/">Tomorrow's date on the subject</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			I think all date related macro commands in The Bat work with the current date only.<br />(See <noindex><a href="https://www.ritlabs.com/en/support/help/73/" target="_blank" rel="nofollow">https://www.ritlabs.com/en/support/help/73/</a></noindex> for all macro commands)<br /><br />Maybe you can use a cmd script or some utility in Windows that manipulates the date and stores it in a text file, or in an environment variable, and then somehow retrieve that and use it in the subject field. But how to do that, I'm afraid I cannot tell you. <br />
			<i>27 December 2020 22:10:09, <a href="http://www.ritlabs.com/en/forums/">Daniel van Rooijen</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic15175/message51225/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic15175/message51225/</guid>
			<pubDate>Sun, 27 Dec 2020 22:10:09 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Tomorrow's date on the subject</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic15175/message51224/">Tomorrow's date on the subject</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			I meant &#39;subject field&#39;. I want to prepare a template, so that using %SUBJECT, tomorrow&#39;s date will automatically appear in the subject field. <br /><br />Thanks. <br />
			<i>27 December 2020 17:33:08, <a href="http://www.ritlabs.com/en/forums/">Juan Miguel García Bernal</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic15175/message51224/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic15175/message51224/</guid>
			<pubDate>Sun, 27 Dec 2020 17:33:08 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Tomorrow's date on the subject</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic15175/message51220/">Tomorrow's date on the subject</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			What is subject line? <br />
			<i>27 December 2020 15:45:10, <a href="http://www.ritlabs.com/en/forums/">George Salnik</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic15175/message51220/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic15175/message51220/</guid>
			<pubDate>Sun, 27 Dec 2020 15:45:10 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Tomorrow's date on the subject</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic15175/message51218/">Tomorrow's date on the subject</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			I&#39;m new to &#39;The Bat!&#39;, and I&#39;d like to know how I can add tomorrow&#39;s full date to the subject. That is, if today is Sunday, December 27th, the date Monday, December 28th, should appear in the subject line.<br />I&#39;m new, so be patient with me. <br />
			<i>27 December 2020 14:47:34, <a href="http://www.ritlabs.com/en/forums/">Juan Miguel García Bernal</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic15175/message51218/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic15175/message51218/</guid>
			<pubDate>Sun, 27 Dec 2020 14:47:34 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
	</channel>
</rss>
