Pages: 1
RSS
Educated The Bat!, separate template for male and female contacts
 
Hello,
I want to ask if it is possible to have a different template for male and female contacts in The Bat!?
My template starts with: "Hello Mr. Jozsef, " for example. But if I start a message to some lady, I need to change that Mr. to Ms. or something else, every time, manually. Is there any solution for this?
Thanks!
 
Yes, this is possible, provided that you've defined the gender of your contacts in your address book.

Use this macro:
%If:'%ABToGender'='0':'Person of unknown gender '%-
%If:'%ABToGender'='1':'Mr '%-
%If:'%ABToGender'='2':'Mrs '%-
%ABToLastName='%ToName',

You can add this both to your new message templates and your reply templates.
I've added the 'person of unknown gender' as your language may have a salutation for that, otherwise you can skip that line.
I've added the ='%ToName' to the last line to give you something when you're replying to somebody who hasn't got an entry in your address book.
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
Thanks I'll try this and let you know if I have some problem or if it works fine :)
 
Works! Great. Thanks a lot.
Do you know some link or manual where I can read the details about these kind of functions?
 
Help -> Help topics -> Macros -> Full alphabetic list of macros

For the rest, check the help for templates and quick templates
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
Thank you. Will try to go through all of these and learn something :)
Pages: 1