Hallo Ralph,

On Sun, 7 Nov 2004 12:06:57 +0100GMT (7-11-2004, 12:06 +0100, where I
live), you wrote:

R> So,  is  there  a  way  to  create  an  "if"-macro?  I  mean,  if  the
R> corresponding  fields  are  filled  out  correctly  use %ABTOFIRSTNAME
R> %ABTOLASTNAME, if not us %TONAME...

The easiest way would be to use %ABToName instead of %ABToFirstName
and %ABToLastName, that way you can use the build in shortcut:
%ABToName="%ToName"

Of course you can use %ABToFirstName="%ToFName" and
%ABToLastName="%ToLName", but %ToFName and %ToLName give the same
result when the To header contains only one name part.

There is the option to use an %If macro like this
%IF:"%ABToFirstName%ABToLastName"="":"%ToName":"%ABToFirstName %ABToLastName"
but this hurts my feelings for esthetics. (Apart from forgetting about
any middle names that might be very important for the addressee.)

-- 
Groetjes, Roelof

It is meaningless to speak of domesticating a child.

The Bat! 3.0.2.4 Rush
Windows XP 5.1 Build 2600 Service Pack 2
1 pop3 account, server on LAN

Attachment: pgphV3uoqY9XL.pgp
Description: PGP signature

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

Reply via email to