Hello tbudl, I have a simple (?) scripting question. I want to write a template that automatically inserts the first name of the sender into my replies.
The default template in The Bat! does not quite work: Hello %OFromFName, The reason is that I receive a lot of messages in an Outlook/Exchange environment. The FROM for most of these messages is of the form LAST FIRST-UID such as Smith John-Q234C The greeting thus becomes Hello Smith which is not very friendly. Therefore, what I need is is a conditional: If the return address contains a '-' then extract the real first name and use it else use %OFromFName Any suggestions? Ed -- ________________________________________________________ Archives : http://tbudl.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] TBTech List: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] Latest Vers: 1.53d FAQ : http://faq.thebat.dutaint.com