On Friday, June 3, 2005, at 12:41:57 [UTC+0200] (Friday, June 3, 2005
12:41 my local time) MAU wrote:

> [...] It would be very convenient for me to, also
> automagically, include a field (Birthday or any other) with the date
> when the entry has been added to the AB and, so far, I have not found a
> way of doing so.

Probably this is not possible now using The Bat! functions only :-(

> I'm looking at the possibility of instead of adding addresses directly
> to AB, adding them to a text file (obviously automagically) that I could
> then once a day manually import into the AB, but I haven't found any way
> of doing this either.

This is a quite easy to do when you use LDIF format. You should build a
the filter which will act only if the sender is not present in address
book. The filter exports message to the text file named, say
"daily.ldif". The export template must be used to generate all LDIF
fields on the base of received message. Here is a working example of
such template:

dn: cn=%OFromName,mail=%OFromAddr
cn: OFromaName
mail: OFromAddr
modifyTimeStamp: %Date(yyyymmdd)T%Time="hhmmss"Z
givenName: %OFromFName
sn: %OFromLName
comment: %Date
xbatTemplateOptions: -----
xbatFavourite:  
objectclass: top
objectclass: person

The template must end with one empty line, because particular entries
in LDIF file must be separated. Memo filed in Address Book is mapped as
"comment" in LDIF data file. The daily generated LDIF file cab be
easily imported to the address book. I used this method sometimes to
update my address book with new addresses acquired from different
sources.


-- 
Best regards,
Zygmunt Wereszczynski
(Using The Bat! v3.5.25 on Windows 95 4.0 Build 1111 b)


________________________________________________________
 Current beta is 3.5.25 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html
IMPORTANT: To register as a Beta tester, use this link first -
http://www.ritlabs.com/en/partners/testers/

Reply via email to