hello the batters!
some years back, roelof provided me with the following coding. this
creates a unique number generated in chronological sequence for all
new, reply and forwarded msgs.
quote
%ModifyOnce(X-Monsell)%-
%SetHeader(X-Monsell,%-
%Calc('%RegRead(HKEY_CURRENT_USER\Software\RIT\The
Bat!\MessageReferenceNumber, 0) + 1')%-
)%-
%_RefNo='%Header(X-Monsell)'%-
%If:'%_RefNo'='1000':'%_RefNo=1'%-
%RegWrite(HKEY_CURRENT_USER\Software\RIT\The Bat!\MessageReferenceNumber,
%_RefNo)%-
%_RefNo%-
%Subject='%_RefNo * %OSUBJ'%-
unquote
my question is, is it possible to set the length of numbers to say 7
or 8 digits?? this means that even if the number starts from 1, there
will be zeros appearing before the number. IE; 0001 and if msg
number is 12345 the number should appear as 0012345.
in order to support the above code, roelof used a plug-in macro.
details as below;
MyMacros 1.11a
Home page: http://en.barin.com.ua/soft/mymacros/
Developer: Andrew Perevodchik and...@barin.com.ua
You can see descriptions of macros in help file in MyMacros distributive.
Automatically-generated list of provided macros follows:
° CHR
° COUNTATTACHMENTS
° COUNTERTODATE
° COUNTLINES
° CUTHERE
° DATETOCOUNTER
° DAYSTO
° EVAL
° FILEVER
° FOR
° FORDOWN
° GETLINE
° INPUTBOX
° KEYBLAYOUT
° MYMACROSVERSION
° NUMERICAL
° OCOUNTATTACHMENTS
° PREFIX
° PROGRESSBAR
° RANDOM
° REGEXP
° REGEXPREPLACE
° REGREAD
° REGWRITE
° RUN
° SMARTQUOTES
° STRLEN
° STRREPLACE
° STRTR
° STRWRAP
° SUBJIFNONE
° TEXTBAR
° TOIFNONE
° TRIM
° UNTIL
° GETVALUEKEY
° GETVALUEN
° GETVALUEREGEXPKEY
° WHILE
° WINAMPSTATUS
° WINAMPTITLE
° WRAPTEXT
there is no new version of this macro neither do they have any updates
for it.
appreciate your assistance please
thank you
--
vernon
Current version is 5.2.2 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html