Hello The Bat! - Betalist,

with a big help from Januk Aggarwal, the print template now works fine
with these QT:

,----- [ QT: Recipient Driver ]
| %_RL_Num_Space("10")%-
| %SetPattRegexp="^(?s)\s{%_RL_Num_Space}(.*)\Z"%-
| %RegExpMatch="%-
| %___%QInclude='Recipient List'"
`-----


,----- [ QT: Recipient List ]
| %REM='
|        Recipient List reformatting routine using features from TB 1.63b11
|        Written July 2003 by Januk Aggarwal
|
|        Notes:
|           1. This template can be used alone to reformat clipboard
|              contents or can be used as a reformatting engine by
|              assigning text to the variable, %_RL_Text, in the driver
|              template.
|           2. Indenting can be specified  by defining number of leading
|              spaces in %_RL_Num_Space variable.
| '%-
| %-
| %IF:'%_RL_FirstTime'='':'%-
| %___%IF:"%_RL_Text"="":"%_RL_Text(""%Clipboard; "")"%-
| %___%IF:"%_RL_Num_Space"!="":"%-
| %______%SetPattRegexp=""(\s{%_RL_Num_Space})""%-
| %______%RegExpBlindMatch=""
|                                     ""%-
| %______%_RL_Leading_Space(%SubPatt(1))":"%-
| %______%_RL_Leading_Space()"%-
| %___%_RL_FirstTime="No"'%-
| %-
| %IF:'%_RL_Text'!='':'%-
| %-
| %___%SetPattRegexp=!(?x)
|       ^\s*                     # Strip Leading Spaces
|       (                        # SubPatt 1 - First Item + Delimiter
|         (                      # SubPatt 2 - First Item
|           (\"?)                # Opening Quotation marks
|             (.*?)              # SubPatt 4 - Name
|           \3                   # Closing Quotation marks if opening ones exist
|           \s*
|           (\<.*?\>)?           # SubPatt 5 - Address
|         )                      # Close First Item
|         \s*[;,]\s*             # Delimiter and white space
|       )                        # Close First Item + Delimiter
|       (.*)                     # SubPatt 6 - Remainder of list
|       \Z!%-
| %___%RegexpBlindMatch(%_RL_Text)%-
| %-
| %___%_RL_Name_Addr(%SubPatt(2))%-
| %___%_RL_Name(%SubPatt(4))%-
| %___%_RL_Addr(%SubPatt(5))%-
| %___%_RL_Text(%SubPatt(6))%-
| %-
| %___%_RL_Leading_Space%-
| %___%_RL_Name %_RL_Addr
| %-
| %QInclude("Recipient List")'%-
`-----


,----- [ Print template ]
| -=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|     From: %FromName <%FromAddr>
|     Date: %ODate %OTimeLong                          %IF:'%TOLIST'<>'':'
|       To: %_RL_Text="%TOLIST; "%QINCLUDE="recipient driver"' %IF:'%CCLIST'<>'':'
|       Cc: %_RL_Text="%CCLIST; "%QINCLUDE="recipient driver"' %IF:'%BCCLIST'<>'':'
|      Bcc: %_RL_Text="%BCCLIST; "%QINCLUDE="recipient driver"'
|  Subject: %FullSubj
| -=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
| %text
`-----


Now I want the recipient lsit indented even for forwared mails. I've
just merged the print template and the forward template. But the result
is an empty (to, cc, bcc) list. where am I wrong?

-- 
cheers
Frank

[TheBat! (2.0 Beta/1)] [Windows 2000 5.0 (Build 2195) Service Pack 4]
[Hamster Version: 2.0.2.1] [powered by Intel [EMAIL PROTECTED] 512MB RAM]

________________________________________________________
 Current beta is 2.0b1 | "Using TBBETA" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to