Hello Januk Aggarwal !

  
On Sat, 7 Dec 2002 13:24:24 -0800 GMT your local time,
which was 07.12.2002, 22:24 (GMT+0100) where I live, you (Januk Aggarwal)
wrote in [EMAIL PROTECTED]:">mid:[EMAIL PROTECTED]:

[...]

> Your best bet may be to use some sort of external counting program to
> generate a text file with the info so you can use %PUT in your
> template. 

[...]

If subscription and unsubscription is done by TB with a filter, you
can add the following, which does the maths for you and writes the
new number to a file.

Here is the macro I wrote (Thanks to Karin Uhlig who gave me the
hint!!):

%COMMENT='%setpattregexp="\d{1,}"%regexpmatch="%put=_C:\TEMP\test.dat_"'%-
%calc='%COMMENT + 1'%-

Note: C:\TEMP\test.dat is the path which has to be adjusted ;-)


Use this as the template for exporting a file (text) within a filter.
The filter reacts on subscriptions and adds the subscriber to the
appropriate address book.

-- 
Best regards,
 Gerd 
=======================================================
Tutorial for using regular expressions with TheBat! www.regenechsen.de
-------------------------------------------------------
Erwerbsregel #280
Regeln k�nnen nach Belieben interpretiert werden.
-------------------------------------------------------
now playing: WDR2 :-)


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

Reply via email to