Hello,

Here's a problem that I've brought over from tbudl...

I can't seem to make this macro work at all.  It seems to me that
print_recipient2 is not getting called properly, or at all; the lines after
To, CC, BCC are always blank.

I've tried inserting text markers to indicate QT calls, and have never seen
the ones for print_recipient2 appear.

I'm no regex expert, but I'm clear on what's going on up until line 3 of
print_recipient - please, no laughing!

My three templates, directly ctrl-c & ctrl-v'd from TB, are below my sig.:

Thanks in advance,

--  
 Nick

Using TheBat!: v1.62i on Windows XP 5.1 Build 2600
Service Pack 1

Nick's QTs

----- print-----
> -=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> ����From: %FromName <%FromAddr>
> ����Date: %ODateEn %OTimeLongEn��������������������������%IF:'%TOLIST'<>'':'
> ������To: %COMMENT="%TOLIST; "%QINCLUDE="print_recipient"' %IF:'%CCLIST'<>'':'
> ������Cc: %COMMENT="%CCLIST; "%QINCLUDE="print_recipient"' %IF:'%BCCLIST'<>'':'
> �����Bcc: %COMMENT="%BCCLIST; "%QINCLUDE="print_recipient"'
> �Subject: %Subj
> -=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> %text
> -=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

---- end print ---

----- print_recipient     -----

> %COMMENT="10
> %COMMENT"%-
> %SETPATTREGEXP="(?s-m)^\s{10}(.*)\n$"%-
> %REGEXPMATCH="%QINCLUDE='print_recipient2'"%-
> %COMMENT=""%-

----- end print_recipient -----


----- print_recipient2         -----

> %REM='
> ������Recipient List reformating routine.
> ������recipient2 = recursive engine QT
> ������
> ������Written by Januk Aggarwal
> ������November 2002
> '%-
> %-
> %IF:'%-
> %SETPATTREGEXP=$(?i)^\d*\n(\"?(.*?)\"?\s*(\<.*?\>)?\s*[;,]\s*)$%-
> %REGEXPMATCH=$%COMMENT$'<>'':'%-
> %-
> %SETPATTREGEXP="\s{%-
> %-%-%SETPATTREGEXP=#^\d*#%-
> %-%-%REGEXPMATCH=#%COMMENT#}"%-
> %REGEXPMATCH="����������������������������������������"%-
> %-
> %SETPATTREGEXP=$(?i)^\d*\n((\"?(.*?)\"?\s*(\<.*?\>)?)\s*[;,]\s*)?$%-
> %REGEXPBLINDMATCH=$%COMMENT$%-
> %SUBPATT=$2$
> %-
> %COMMENT=_%-
> %-%-%SETPATTREGEXP=$(?i)^(\d*\n)(\"?(.*?)\"?\s*(\<.*?\>)?\s*[;,]\s*)?(.*)$%-
> %-%-%REGEXPBLINDMATCH=$%COMMENT$%-
> %-%-%SUBPATT=$1$%-
> %-%-%SUBPATT=$5$_%-
> %-
> %QINCLUDE="print_recipient2"'%-

----- end print_recipient2     -----



________________________________________________________
 Current version is 1.61 | "Using TBTECH" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to