Hello,
While trying to do some scripting on the TBUDL list, I discovered some
undocumented features that should be added to the help-file. The
command-line parameter /Import can import to the address book as well.
The options for the parameter are: (Note: I basically copied these
word for word from the /Export command. I haven't tested every
contingency listed, but the basics work as outlined.)
LDIF if this parameter is specified, an address import
will be performed. The INPUT parameter specifies
the name of an input file that holds data to be
imported in LDIF format.
ADDRESSBOOK=value (only for use with the LDIF parameter) value
or AB=value or specifies a name, filename or the full path of the
BOOK=value address book which is to receive addresses. If no
address book is specified, The Bat! will use the
default address book.
GROUP=value or (only for use with the LDIF parameter) value
G=value specifies the handle of the address group which is
to receive addresses. If no address book is
explicitly specified, The Bat! will search all
address books for the first group whose name
matches the specified handle.
FILE=value or value is a file mask with the pathname for the
IN=value or input files. The /IMPORT command can have an
INFILE=value or unlimited number of FILE parameters.
I=value
There are some additional flags for the /Export command which have no
corresponding term in the /Import command. Does anyone know if they
exist, what their function is, etc? The ones I'm talking about are:
UNREAD or N
REPLIED or RE
UNREPLIED or NR
PARKED or PR
UNPARKED or UP
MAXAGE=value or AGE=value or A=value
START=value or S=value
END=value or E=value
I guess for an import command, the first 5 options would set the
appropriate message property, whereas in an export command, they act
as filters. Also, now that we have colour groups and message flags,
are there corresponding filters from the command-line?
flags, does anyone know if there are filters for these criteria too?
--
Thanks,
Januk Aggarwal
Using The Bat! 1.54/10 under Windows 98 4.10 Build 2222 A
I had a really great tagline to put here, but I can't remember what it
was.
--
_________________________________________________________
Archives : http://tbbeta.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Latest Beta: 1.54 beta/10
Wish List : http://wish.thebat.dutaint.com