-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Aaron,

@22 June 2002, 13:22:31 -0400 (18:22 UK time) Aaron Green wrote in
[EMAIL PROTECTED]">mid:[EMAIL PROTECTED]

MDP>> Yes - the Account templates!

> Right--this is what I *used* to use, but if I'm *replying* to a
> message, if I want "Kaye Green" to become "Mom" then I need an Address
> Book template. If there are people in every address book group that
> have nicknames, I need to define Address Book templates for every
> group (unless there's a way around this).

Well, you can use group templates and subverted address book fields.
Here's what I do in my templates:

,-----=[ Reply template, Friends AB group ]-----
|Dear %QINCLUDE="ABN",%QINCLUDE="QSUBJ"
|%QINCLUDE="NS"
|%WRAPPED='%QINCLUDE="RandQ"'
|
|%Cursor%QINCLUDE="REQ"
|--
|%QINCLUDE="L2"
|%QINCLUDE="cookRR"
`----------------

ABN is the baby that does the trick.

,-----=[ ABN ]-----
|%REM=+
| Name Plucker by Marck
|     +%-
|%IF:"%ABToLastName"="list":"%TOFNAME":%-
|"%ABToNamePrefix='%ABToFirstName=#%ABofromFIRSTNAME=.%TOFNAME.#'"%-
|%TO=""%TO='"%ABofromNAME=''%OFROMNAME''" <%TOADDR>'
`----------------

It first of all looks to see if I'm replying to a list posting. If so
it uses the First Name from the TO line (%TOFNAME).

Otherwise it first tries to uses %ABToNamePrefix (I hide a special
greeting in the Prefix field ... that's where you could put "Mum"). If
that's not set it uses %ABToFirstName (the first name of the addressee
according to the AB) or ABofromFIRSTNAME (the first name of the
original author according to the AB) otherwise (final resort) %TOFNAME
(pick up the first name in the To: header.

MDP>> did you consider using Quick Templates for the job?

> No--didn't see a way to do the equivalent of %INCLUDE%...or do you
> mean that I hit "reply" and then type a quick template shortcut and
> hit CTRL-SPACEBAR?...

Not really, although it would work. As you see from my example
template, I rely quite heavily on Quick Templates to do the work for
me.

- --
Cheers -- .\\arck D. Pearlstone -- List moderator
TB! v1.60q-5523848F0B1 on Windows 2000 5.0.2195 Service Pack 2
'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7a-nr2b1 (Windows 2000)

iD8DBQE9FPPGOeQkq5KdzaARAkB3AJ9avS2nB1HirX99/Y3s244mQMMAZQCgj6Vb
ixP2/CQYcPqKsvyilSz2NxQ=
=s1Wc
-----END PGP SIGNATURE-----



________________________________________________________
Current Ver: 1.60q
FAQ        : http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://www.ritlabs.com/bt/

Reply via email to