Hi Roelof, On 19 Dec 2001 at 21:36:54 [GMT +0100], you wrote: RO> %AbToFirstName. [...] Using this macro you'll get an empty string RO> when the intended recipient is not included in your address book. RO> That could be checked with an if-statement, something like:
RO> Hello %if:"%AbToFirstName"="":"%ToFName":"%AbToFirstName" For this purpose, there's an easier, built-in solution. Just insert Hello %ABtoFIRSTNAME="%TOFNAME". This way, %ABtoFIRSTNAME will only be used if it's not empty, otherwise %TOFNAME will be executed. IIRC, on the FAQ page, there's even a version with 3 alternatives, which will be checked successively. -- Regards, Lars The Bat! 1.54 Beta/17 on Windows NT 5.1 Build 2600 ____________________________________________________________ | Lars Geiger | <mailto:[EMAIL PROTECTED]> | -- ________________________________________________________ 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