You are caller No. |
|||
Back to The Bat! FAQ / How-Do-I / Macros |
|||
Table of contents: |
|||
|
|||
These should whet your appetite for the power of The Bat! If you want
to explore these concepts a bit further why not join the discussion lists and
talk things over with like minds. For the surface level stuff there's TBUDL. For
the deeper, more meaningful conversations, head for TBTECH.
|
|||
Default new message template explained |
|||
Templates are where the real power of The Bat! is to be found. Templates are explained in more detail here (if you're not sure what I'm on about). Preamble : If you plan to use the templates as is given here do NOT make any changes in the commands (Macros). For convenience they are marked in RED. What you can change to suit your needs are in Pink For e.g. in the sample given below 'Hello' could be replaced with 'Dear' or 'Hi' and 'Best Regards' can be replaced with 'Cheers' or 'Affly' This rule has been used through out this page.
With templates, you can personalise exactly how The Bat! makes you look
to others. How you address your messages, how you sign them and how the
content is formatted. Hello %TOFName, %Cursor -- Best regards, %FromFName mailto:%FromAddrA template is used to fill in some default text in a blank message. Let's break this down a bit.
[Back to top] |
|||
Default reply template explained |
|||
The default reply template looks like this: Hello %OFromFName, %ODateEn, %OTimeLongEn, you wrote: %Quotes %Cursor -- Best regards, %FromFName mailto:%FromAddrThis is almost identical to the default New Message template with the exception of these two lines in the middle: %ODateEn, %OTimeLongEn, you wrote: %QuotesLet's gloss over this to say that these lines put in something like: Monday, October 01, 2001, 7:59:22 PM, you wrote: AB> Hi Marck, AB> How's it going in your neck of the woods?With the date / time taken from the original message "Creation" time and date and the " %QUOTES "macro which puts in the text text of the original message. Too glossy? Okay, the quoted text in this example is shown with the default quote prefix of "Initials". You can change this in your template using the %QUOTESTYLE= macro.[Back to top] |
|||
"Naming" macros |
|||
This is a small collection of macro combinations which are useful when dealing with names and addresses. The best way to use these snippets is to put them into a quick template with an appropriate "handle" (name) and then use them as needed in your main templates with a %QINCLUDE='handle'
construct. These are building blocks as opposed to complete solutions for
anything in particular.
[Back to top] |
|||
Sample Quick Templates |
|||
Many thanks go to Raj for his help compiling this section To see the benefits you would first need to create multiple Quick Templates. (Options->Quick Templates->Add or Shft+Ctrl+Q). It is usually quite useful to make these more sophisticated quick templates available Bat!-wide by turning on the 'Share with other accounts' option. Rules if you plan to use them as shown here : You can personalise whatever is coloured in Pink. QT names can also be changed... But ensure that the correct name is used. One thing to be careful with - the samples here refer to some cookie files as existing on d:\bat\... - you should modify these to reflect existing files on your own system. You will find links to some example files at the bottom of this page. Quick Template 1. Description : Formal Signature Quick Template 2. Description : Informal Signature Quick Template 3.
Description : Last Lines for new Message Quick Template 4. Description : Last Lines for Reply Message Quick Template 5. Description : Fixup a messy Re: subject Quick Template 6. Description : International Reply pre-amble Quick Template 7. Description : Quoted text, no PGP or ads Quick Template 8. Description : Body for reply with intro and quotes Quick Template 9.
Description : Addressing for Account Quick Template 10. (This assumes that the addresses are present in the address book)
Description : Addressing for Friends We now need to put all this together. Quick Template 11.
Description : Final New Templates for Friends Quick Template 12. Description : Final New Templates for Others Quick Template 13 Description : Final Reply Templates for Friends Quick Template 14. Description : Final Reply Templates for Others We now have 4 final templates. These can be used in four places. Account/Properties/Templates or What needs to be done is to put %Qinclude="Template Name" in the right places. Sample greetings & cookies files can be downloaded from here. Make sure that you save them in the directory referred to in the Quick Templates above - whatever you may have changed it to when transcribing for your own use. [Back to top] |