hello friends,
i got this code done by "Roelof Otten" many years back;
%ModifyOnce(X-Eagle)%-
%SetHeader(&X-Eagle&,&%-
%Calc('%RegRead("HKEY_CURRENT_USER\Software\RIT\The
Bat!\MessageReferenceNumber", "0") + 1')%-
&)%-
%_RefNo='%Header(X-Eagle)'%-
%If:'%_RefNo'='1000000':'%_RefNo="0000001"'%-
%RegWrite("HKEY_CURRENT_USER\Software\RIT\The Bat!\MessageReferenceNumber",
%_RefNo)%-
%_RefNo%-
%Subject='%_RefNo * %OSUBJ'%-
i have added this code to NEW, REPLY & FORWARD so that the number
appears in chronological sequence for each and every email that i
either start as NEW or REPLY or FORWARD. however, the number appears
as 1, 2, 3 and so on.....
i prefer the length of the counter to have max 7 digits. therefore,
the number should appear as "0000001" instead of just 1, 2 to appear
as "0000002" and so on....
hope you can assist me to modify this code or even consider making
your own code.
many thanks
--
ramzan
________________________________________________
Current version is 6.6 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html