Re[2]: counting the chars in the subject...

2003-01-14 Thread Biju Nair

Hello Heiko,

Tuesday, January 14, 2003, 6:43:00 AM, 

,- [ you wrote ]

HK> Hallo Gerd Ewald,

HK> am Dienstag, 14. Januar 2003 schriebst Du:

>> Number of Chars in Subject: %ORG"%-
>> -

HK> Thanks a lot.

HK> This program is just fascinating. I think I will learn to use all it's
HK> features within the next ten years. ;-))

'-

Subject to condition that BAT IS not getting updated with the new
requirements / features in the comming next 10 yrs..;-))



Regards,
 Biju



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



Re: counting the chars in the subject...

2003-01-14 Thread Heiko Kuschel
Hallo Gerd Ewald,

am Dienstag, 14. Januar 2003 schriebst Du:



> Number of Chars in Subject: %ORG"%-
> -

Thanks a lot.

This program is just fascinating. I think I will learn to use all it's
features within the next ten years. ;-))

-- 
Schöne Grüße
Heiko Kuschel - http://www.kuschelkirche.de/
  - http://www.kuschelchaos.de/
Ev. Kirchengemeinde Gochsheim - http://www.stmichael-gochsheim.de/
AMIGAplus: alles für die Freundin - http://www.amigaplus.de/



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



Re: counting the chars in the subject...

2003-01-14 Thread Gerd Ewald
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



counting the chars in the subject...

2003-01-14 Thread Heiko Kuschel
Hallo tbudl,

since this program has so many options... maybe there's a way to do
this:

I'm sending SMS as Email regularly. (I send an Email to a server, and
this is sent to a cellphone as SMS) The text is in the subject field,
and I never know how many chars are left and where the text will be
cut off.

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...

TIA

-- 
Schöne Grüße
Heiko Kuschel - http://www.kuschelkirche.de/
  - http://www.kuschelchaos.de/
Ev. Kirchengemeinde Gochsheim - http://www.stmichael-gochsheim.de/
AMIGAplus: alles für die Freundin - http://www.amigaplus.de/



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