Hi

On Tuesday 31 December 2013 at 8:16:42 AM, in
<mid:[email protected]>, [email protected]
wrote:


> wonder if someone could assist with a macro to insert
> automatically a number to appear in chronological
> sequence for each and every message that we send out.

> for example, if a new msg is opened for the first time
> then the number starts with 1 (one). when a msg is
> replied or forwarded the number should appear as 2
> (two) and it continues. so for each new, reply, forward
> msg the number should continue.


For clarity, do you mean serially numbering all messages you send:-

1. in one single serial for everything.

2. one serial per thread.

3. one serial per contact.

4. something else.

Have you searched the list archives? I'm convinced I have seen this 
asked before.

Do you need it in the message body, the subject field, or could it be 
in a header field of its own?

There is a macro %trackingnumber to insert a random 32-bit hexadecimal 
number. If that does not suffice, you have to store the number 
somewhere and increment it for each message. I'm not sure how you do 
that, maybe it needs to happen in an outgoing message filter rather 
than in a message template. Maybe it needs to be incremented and 
updated in a file by an outgoing message filter, and written from that 
file by a macro in a message template.


-- 
Best regards

MFPA                    mailto:[email protected]

If you can't convince them, confuse them.

Using The Bat! v4.0.38 on Windows XP 5.1 Build 2600 Service Pack 3 


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

Reply via email to