On Wed 9 June 2004, 22:30:24 +1000, Robin Anson wrote: > ---- [ To_Name QT ] > %_To_NN="%SetPattRegexp='(?im)^aka:\s*(.*?)$'%RegExpMatch='%ABToMemo'"%- > %If:'%_To_NN'<>''%- > :'%_To_Name="%_To_NN"'%- > :'%_To_Name="%Capital(%ABToFirstName=^%ToFName^)"'%- > ---- [ End To_Name QT ]
And I forgot to add the last line to the QT, which is %_To_Name So it should read ---- [ To_Name QT ] %_To_NN="%SetPattRegexp='(?im)^aka:\s*(.*?)$'%RegExpMatch='%ABToMemo'"%- %If:'%_To_NN'<>''%- :'%_To_Name="%_To_NN"'%- :'%_To_Name="%Capital(%ABToFirstName=^%ToFName^)"'%- %_To_Name ---- [ End To_Name QT ] Apologies if I confused anyone. I cut it out of a much larger QT that I use that puts multiple names on the greeting line. The older version of that QT, which used the nickname field as Terry wanted to do, is in the The Bat! QT library as Greet_All_Recipients. I will update it shortly with this new variation. -- Robin Anson Using The Bat! v2.11.02 on Windows XP 5.1 Build 2600 Service Pack 1 ________________________________________________ Current version is 2.11.02 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html