The sample script in the vault generates a single signature file in HTML format called SIGNATURE.HTM. It assumes that the user will manually select that signature file in Outlook.

An enhancement to the basic script would be to repeat the loop that replaced the data tags in the template, using a different template and output file. Thus, you would create one signature file for new email and one for replies ("auto-sig" and "auto-reply" files). The signature for replies is generally simple and would not contain an image as multiple images in an email can trigger SPAM detection.

Once these two files are created in the user's folder, the OutlookSignature UDF is called three times - first to delete both of the signatures, second to create the signature for new messages, and then to define the one for replies.

So, in the sample script, the UDF would be called just before the Exit, right after the file(s) are created.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D