<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: Changing default templates]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in Changing default templates of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Fri, 29 Nov 2024 16:10:21 +0200</lastBuildDateTag>		<item>
			<title>Changing default templates</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic16447/message57371/">Changing default templates</a></b> <i>Looking for a way to avoid fixing every account one by one</i> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			Thank you. That suggestion was <I>very</I> helpful. And it is in fact the only way to approach the problem, because the CSS styles in a template can&#39;t be changed by editing the html and saving the template. When you do that, The Bat! strips out everything you have put in the <span class="bx-font" style="font-family:Courier New">&lt;/head&gt;</span> tag and restores its own generated CSS. <br />
			<i>29 November 2024 16:10:21, <a href="http://www.ritlabs.com/en/forums/">Paul Keating</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic16447/message57371/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic16447/message57371/</guid>
			<pubDate>Fri, 29 Nov 2024 16:10:21 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Changing default templates</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic16447/message57370/">Changing default templates</a></b> <i>Looking for a way to avoid fixing every account one by one</i> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_VxHPG5DP" href="/en/forums/" bx-tooltip-user-id="85411">Paul Keating</a> wrote:<br />ought to be possible to permanently set it to something else, rather than having to override it in every template<br />=============<br /><br />Just occurred to me - I think it may be possible using profiles: Preferences -&gt; Viewer/Editor -&gt; Profile Layout. There you can set fonts, font sizes, etc. for many different &quot;items&quot; (regular text, hyperlinks...).<br /><br />Doing this for the default &lt;Generic Profile&gt; could do the trick since the same editor is used for message templates and messages themselves.<br /><br />In Preferences -&gt; Viewer/Editor -&gt; Viewer/Editor Profiles you can declare additional profiles which are triggered for specified character sets. <br />
			<i>29 November 2024 15:34:24, <a href="http://www.ritlabs.com/en/forums/">Miloš Radovanović</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic16447/message57370/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic16447/message57370/</guid>
			<pubDate>Fri, 29 Nov 2024 15:34:24 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Changing default templates</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic16447/message57367/">Changing default templates</a></b> <i>Looking for a way to avoid fixing every account one by one</i> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			Thank you for the feedback and all the insight Paul.<br /><br />(Yes, many things are &quot;obvious&quot; in hindsight.) <br />
			<i>28 November 2024 19:41:13, <a href="http://www.ritlabs.com/en/forums/">Miloš Radovanović</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic16447/message57367/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic16447/message57367/</guid>
			<pubDate>Thu, 28 Nov 2024 19:41:13 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Changing default templates</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic16447/message57366/">Changing default templates</a></b> <i>Looking for a way to avoid fixing every account one by one</i> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			After having spent an unreasonable amount of time parsing the <span class="bx-font" style="font-family:monospace">.qtb</span> and <span class="bx-font" style="font-family:monospace">.cfn</span> files to extract the templates, and learning in the process entirely too much about the way they store versions and encodings, I discover that the proper way to do what I want is: open the template of interest in the editor, ensure that <span class="bx-font" style="font-family:monospace">Format | HTML</span> is selected, then press F9 to get the HTML source code editor.<br /><br />From there you can copy and paste the template into a file and use the command line option <span class="bx-font" style="font-family:monospace">/ADD</span> to attach that file to another account. To my amazement, that gets correctly interpreted as an html template and not as plain text.<br /><br />And if anyone reading this is prompted to exclaim <I>Oh, but that is obvious,</I> then it might be well to remember that it is generous to explain things to a puzzled beginner, however obvious they might seem to you.<br /><br />This has also led to a useful discovery. I had thought that The Bat!&#39;s infuriating habit of switching to monospace whenever you add a linebreak into the middle of a message was a bug in the editor. But it isn&#39;t. It&#39;s because the standard CSS prologue, that you normally can&#39;t see, sets all instances of <span class="bx-font" style="font-family:monospace">&lt;p&gt;</span> to 9-point Consolas. And when you put a new blank line in the middle of a paragraph, the editor (of course) provides a <span class="bx-font" style="font-family:monospace">&lt;p&gt;</span> tag for it.<br /><br />The Bat! silently supplies this CSS in an html <span class="bx-font" style="font-family:monospace">&lt;head&gt;</span> tag for every template. I think what the CSS specifies is, to be polite, retro, with everything monospace except the signature. Now we can all agree that that is a matter of taste. But since it <I>is</I> a matter of taste, it ought to be possible to permanently set it to something else, rather than having to override it in every template.<br /><br />And it would be nice to know (without having to work it out by trial and error) under what circumstances the template processor invokes the tags <br /><ul><li><span class="bx-font" style="font-family:monospace">&lt;blockquote class=&quot;rt&quot;&gt;</span><br /><li><span class="bx-font" style="font-family:monospace">&lt;blockquote class=&quot;email-signature&quot;&gt;</span><br /><li><span class="bx-font" style="font-family:monospace">&lt;p class=&quot;email-signature&quot;&gt;</span> (and what makes it different from <span class="bx-font" style="font-family:monospace">&lt;blockquote&gt;</span>?)<br /><li><span class="bx-font" style="font-family:monospace">&lt;PRE class=&quot;RFCHeader&quot;&gt;</span><br /><li><span class="bx-font" style="font-family:monospace">&lt;A class=&quot;quote-odd&quot;&gt;</span><br /><li><span class="bx-font" style="font-family:monospace">&lt;A class=&quot;quote-even&quot;&gt;</span><br /><li><span class="bx-font" style="font-family:monospace">&lt;A class=&quot;quote-text-odd&quot;&gt;</span><br /><li><span class="bx-font" style="font-family:monospace">&lt;A class=&quot;quote-text-even&quot;&gt;</span><br /></ul>But experience suggests not to even bother to ask, so I won&#39;t. <br />
			<i>28 November 2024 19:06:09, <a href="http://www.ritlabs.com/en/forums/">Paul Keating</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic16447/message57366/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic16447/message57366/</guid>
			<pubDate>Thu, 28 Nov 2024 19:06:09 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Changing default templates</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic16447/message57335/">Changing default templates</a></b> <i>Looking for a way to avoid fixing every account one by one</i> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_K4TujrGR" href="/en/forums/" bx-tooltip-user-id="311">Daniel van Rooijen</a> wrote:<br />As for account.qtb, I don&#39;t think it contains regular templates, just quick templates.<br />=============<br /><br />Yes, message templates seem to be in Account.CFN. <br />
			<i>18 November 2024 17:22:57, <a href="http://www.ritlabs.com/en/forums/">Miloš Radovanović</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic16447/message57335/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic16447/message57335/</guid>
			<pubDate>Mon, 18 Nov 2024 17:22:57 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Changing default templates</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic16447/message57334/">Changing default templates</a></b> <i>Looking for a way to avoid fixing every account one by one</i> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_U7V2tSnb" href="/en/forums/" bx-tooltip-user-id="85411">Paul Keating</a> wrote:<br /> <br />====quote====<br />I don't understand the assumption that [CSS] is being used.<br />=============<br />It's not an assumption. I can see the HTML in a hex dump of the account.qtb file.<br />=============<br /><br />Well, send yourself a HTML message using one of your templates and when you receive it, view the message.html attachment in a text editor (or load it into a browser and view the source). If any inline CSS is used, you'll see it there in plain text. If any external CSS should be used, which I'd find extremely unlikely because many email clients don't support it, then you'll find the references there as well.<br /><br />As for account.qtb, I don't think it contains regular templates, just quick templates. <br />
			<i>18 November 2024 14:48:35, <a href="http://www.ritlabs.com/en/forums/">Daniel van Rooijen</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic16447/message57334/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic16447/message57334/</guid>
			<pubDate>Mon, 18 Nov 2024 14:48:35 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Changing default templates</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic16447/message57333/">Changing default templates</a></b> <i>Looking for a way to avoid fixing every account one by one</i> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			<br />====quote====<br />I don&#39;t understand the assumption that &#91;CSS&#93; is being used.<br />=============<br /><br />It&#39;s not an assumption. I can see the HTML in a hex dump of the account.qtb file. <br />
			<i>18 November 2024 09:45:12, <a href="http://www.ritlabs.com/en/forums/">Paul Keating</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic16447/message57333/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic16447/message57333/</guid>
			<pubDate>Mon, 18 Nov 2024 09:45:12 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Changing default templates</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic16447/message57331/">Changing default templates</a></b> <i>Looking for a way to avoid fixing every account one by one</i> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_hAvl0s1b" href="/en/forums/" bx-tooltip-user-id="128897">Miloš Radovanović</a> wrote:<br />But I did try something else - manually created a copy of a whole account.<br />=============<br /><br />In <noindex><a href="https://www.ritlabs.com/en/auth-forums/forum6/topic5105/" target="_blank" rel="nofollow">an old discussion from 2007</a></noindex>, power user Roelof Otten suggested copying just the account.flb file which contains the templates. This was also a pop3-only suggestion, and may be worth a try if all accounts have the same folder structure (and only after making a full backup!) <br />
			<i>14 November 2024 19:48:05, <a href="http://www.ritlabs.com/en/forums/">Daniel van Rooijen</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic16447/message57331/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic16447/message57331/</guid>
			<pubDate>Thu, 14 Nov 2024 19:48:05 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Changing default templates</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic16447/message57329/">Changing default templates</a></b> <i>Looking for a way to avoid fixing every account one by one</i> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			I think you'll have to try for yourself if HTML templates can be imported. <br /><br />As for CSS, I don't understand the assumption that it is being used. A regular HTML email has all its HTML contained within a single attachment named message.html. CSS is not required, but if you want to use it, you'll have to use inline CSS. <br />
			<i>14 November 2024 19:40:34, <a href="http://www.ritlabs.com/en/forums/">Daniel van Rooijen</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic16447/message57329/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic16447/message57329/</guid>
			<pubDate>Thu, 14 Nov 2024 19:40:34 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Changing default templates</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic16447/message57328/">Changing default templates</a></b> <i>Looking for a way to avoid fixing every account one by one</i> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_eDDCIPZk" href="/en/forums/" bx-tooltip-user-id="85411">Paul Keating</a> wrote:<br />but it neglects to say anything about what the file should look like. My templates are in HTML. &nbsp;What I would like to do is take an existing template, export it to a file, and point the /ADD command at that file. But if that is not possible, and I have to write one from scratch, I need to know at least a little about the CSS stylesheet that is being used.<br />=============<br /><br />I have no idea.<br /><br />But I did try something else - manually created a copy of a whole account. I made a new directory in the TB mail directory, copied all the contents from the account directory into it, and did Account -&gt; New... -&gt; Restore From... -&gt; Home folder, pointing it to the newly created directory. The new account had the same name as the original one so I edited it in account properties. As far as I could see everything was preserved: folders, messages, filters... And yes, the message templates. Sending and receiving messages worked. But not virtual folders that operated on specific message folders, I had to specify the folders again. I did this for a POP3 account, my only IMAP account is for GMail and I don&#39;t want to mess with it.<br /><br />So, you can consider taking this manual route. For mass copying/renaming Total Commander could do the job (or a batch script), and instead of Account -&gt; New... -&gt; Restore From... -&gt; Home folder you could write a batch script to do the same using TB&#39;s /ADD command. <br />
			<i>14 November 2024 19:34:19, <a href="http://www.ritlabs.com/en/forums/">Miloš Radovanović</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic16447/message57328/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic16447/message57328/</guid>
			<pubDate>Thu, 14 Nov 2024 19:34:19 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Changing default templates</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic16447/message57325/">Changing default templates</a></b> <i>Looking for a way to avoid fixing every account one by one</i> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			Thank you for your response. I have been using The Bat! since 2017 and I was totally unaware that it had a command-line interface. And today I discovered why. It is almost impossible to find in the documentation, unless you already know that it is there.<br /><br />There is one important point the documentation does not cover. It says:<br /><br />====quote====<br />Template=&quot;value&quot;: The default new message template for this account stored in a file.<br />=============<br />but it neglects to say anything about what the file should look like. My templates are in HTML. &nbsp;What I would like to do is take an existing template, export it to a file, and point the /ADD command at that file. But if that is not possible, and I have to write one from scratch, I need to know at least a little about the CSS stylesheet that is being used. <br />
			<i>12 November 2024 22:03:04, <a href="http://www.ritlabs.com/en/forums/">Paul Keating</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic16447/message57325/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic16447/message57325/</guid>
			<pubDate>Tue, 12 Nov 2024 22:03:04 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Changing default templates</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic16447/message57320/">Changing default templates</a></b> <i>Looking for a way to avoid fixing every account one by one</i> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			As in my reply in your previous topic, this too can be done from the command line when creating accounts. For already created accounts, the /ADD command should actually modify them. <br />
			<i>11 November 2024 11:45:26, <a href="http://www.ritlabs.com/en/forums/">Miloš Radovanović</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic16447/message57320/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic16447/message57320/</guid>
			<pubDate>Mon, 11 Nov 2024 11:45:26 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Changing default templates</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic16447/message57317/">Changing default templates</a></b> <i>Looking for a way to avoid fixing every account one by one</i> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			I&#39;ve just spent some time changing three templates (new message, reply, forward) on one email account. <br /><br />But I have 55 accounts to deal with, and I don&#39;t want to have to make those changes 54 times more. Is there a way to change or specify the default template to make it apply to all accounts? Or to copy templates from one account to another? <br />
			<i>10 November 2024 17:47:54, <a href="http://www.ritlabs.com/en/forums/">Paul Keating</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic16447/message57317/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic16447/message57317/</guid>
			<pubDate>Sun, 10 Nov 2024 17:47:54 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
	</channel>
</rss>
