Macro for automatically detect NamePrefix

2005-08-02 Thread Thorvald Neumann
Hæ!

I am thinking of using a macro which automatically detects if an
addressbook entry has a NamePrefix and then uses e.g. Hello
%ABTONamePrefix %ABTOLastName! instead of the normal greeting (Hello
%ABTOFirstName!) I use.

Is this possible to do with %IF? I do not see a possibility to detect
if a addressbook field is empty...

-- 
Kveðja, Thorvald Neumann | http://www.aesir.de/
| The Bat! v3.51.10 Professional  K9 v1.28
| Windows XP Pro (v5.1.2600)
 Listening to: Corvus Corvax - Vrouwe ih pin dir Untertan 




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


Re: Macro for automatically detect NamePrefix

2005-08-02 Thread Roelof Otten
Hallo Thorvald,

On Tue, 2 Aug 2005 11:30:49 +0200GMT (2-8-2005, 11:30 +0200, where I
live), you wrote:

TN I am thinking of using a macro which automatically detects if an
TN addressbook entry has a NamePrefix and then uses e.g. Hello
TN %ABTONamePrefix %ABTOLastName! instead of the normal greeting (Hello
TN %ABTOFirstName!) I use.

Hello %-
%If:%ABToNamePrefix=:%ABToFirstName(%ToFName):%ABToNamePrefix 
%ABToLastName,


Didn't test it, but it should look like this.

-- 
Groetjes, Roelof

Live short and fester.

The Bat! 3.51.10
Windows XP 5.1 Build 2600 Service Pack 2
1 pop3 account, server on LAN
OTFE enabled
P4 3GHz
2 GB RAM


pgp8byQ7OTA9O.pgp
Description: PGP signature

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

Re: Macro for automatically detect NamePrefix

2005-08-02 Thread Thorvald Neumann
Hæ!

Tuesday, August 2, 2005, 11:56, Roelof Otten wrote:
 Didn't test it, but it should look like this.

Thanks, it works. :)

I shouldn't work on my taxes, this makes the brain working more
slowly... I was looking for  :)

-- 
Kveðja, Thorvald Neumann | http://www.aesir.de/
| The Bat! v3.51.10 Professional  K9 v1.28
| Windows XP Pro (v5.1.2600)








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