On Wednesday, March 4, 2009 at 19:32 (which was Wednesday, March 4, 2009
at 09:32 where I am) Robin Anson wrote:

> I have found that it's relatively easy to set up macros to use the Memo
> field to hold all sorts of useful information like that. For instance I use
> the following structure in a Memo field:

>     <aka>Joe</aka>
>     <closing>Kind regards</closing>
>    <closingname>Jack Black</closingname>
>    <receipts>read delivery</receipts>
>    <cc>[email protected]</cc>
>    <bcc>[email protected]</bcc>

I already use something similar, but use INI-style notation in the Memo
field. Even though I use section headings in my memo's, they are of no
consequence to this macro:

,----- [ QT: GETMEMOFIELD ]
| %SETPATTREGEXP("(?im)^%_FIELD%-=\s*(.*?)$")%REGEXPMATCH(%ABTOMEMO)
`-----

,----- [ Use this in your mail template ]
| %_FIELD("Googletalk")%QINCLUDE(GETMEMOFIELD)
`-----

I have been using this method for several years to store user-defined
fields in the addressbook (because TB! has feature to add custom fields)
and use them in mailings I send out to ask people to verify if the
information I have for them is still current.

For example:

,----- [  ]
| AOL Messenger...: %_FIELD("AIM")%QINCLUDE(GETMEMOFIELD)
| Googletalk......: %_FIELD("Googletalk")%QINCLUDE(GETMEMOFIELD)
| ICQ.............: %_FIELD("ICQ")%QINCLUDE(GETMEMOFIELD)
| MSN Messenger...: %_FIELD("MSN")%QINCLUDE(GETMEMOFIELD)
| Skype...........: %_FIELD("Skype")%QINCLUDE(GETMEMOFIELD)
| Yahoo Messenger.: %_FIELD("Yahoo")%QINCLUDE(GETMEMOFIELD)
`-----

-- 
Greetings,
Maurice

Windows XP 5.1 Build 2600 Service Pack 3
The Bat! v4.1.11.6; ; AJS v0.3426; MyMacros 1.11a;

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

________________________________________________________
 Current beta is 4.1.11.6 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to