Hello Heiko Kuschel !

  
On Tue, 14 Jan 2003 12:08:06 +0100 GMT your local time,
which was 14.01.2003, 12:08 (GMT+0100) where I live, you (Heiko Kuschel)
wrote in [EMAIL PROTECTED]:">mid:[EMAIL PROTECTED]:


> Maybe there's a way to count the chars in the subject and put the
> result in the body of the mail?
> Just asking, maybe someone has got an idea...

KArin, who is not member of TBUDL, asked me to forward the
following info concerning your problem:

====8<============================================================

Hi Heiko,

> Maybe there's a way to count the chars in the subject and put the
> result in the body of the mail?

of course there is a way:
you need 2 Quicktemplates, I call them sms and sms1
-----------------
sms:
%COMMENT="%SUBJ"
%ORG="0"%-
%QINCLUDE="sms1"%-
-----------------
sms1:
%CLEAR%-
%IF:"%SETPATTREGEXP='(?is).(.*)'%REGEXPMATCH='%COMMENT'"<>"":"%-
%COMMENT='%SETPATTREGEXP=""(?is).(.*)""%REGEXPMATCH=""%COMMENT""'%-
%ORG='%CALC=_%ORG+1_'%-
%QINCLUDE='sms1'":"%ORG='%CALC=_%ORG+1_'%-
%COMMENT='%SETPATTREGEXP=""(?is).(.*)""%REGEXPMATCH=""%COMMENT""'%-

Number of Chars in Subject: %ORG"%-
-----------------
write your text into the subject field, type "sms" into the text field
and press |strg|spacebar| 
The number of chars in the subject field will appear, and you'll see
it in the field "organization" in the mail header as well.

HTH!
KArin
mailto:[EMAIL PROTECTED]


====8<============================================================

-- 
Best regards,
 Gerd 
=======================================================
Tutorial for using regular expressions with TheBat! www.regenechsen.de
-------------------------------------------------------
"Any technology distinguishable from magic is sufficiently advanced"
Arthur C Clarke
-------------------------------------------------------
now playing: WDR2 :-)


________________________________________________
Current version is 1.62 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to