[Thread Prev][Thread Next][Thread Index]

Re: address db definition



> I'd like to create a script to take the output of the nameslist and
> load it into my pilot.

Rather than writing a pdb file directly (which would require you to overwrite
the AddressDB on your pilot if you want to install it) you might want to find
a way to add the data to your existing db.

2 options:
1. pilot-link has a program called pilot-addresses which can install and
   delete records in a given category.  Uses a CSV (comma separated values)
   file format.

2. SyncAB in the pilotmgr contrib directory.  This can synchronize the address
   book with a CSV file.  You could write a fairly simple perl script to take
   nameslist data and put it in your CSV address file.  Then on a hotsync
   the new records would get added to your pilot..

	- Alan
------------------------------------------------------------------------
***********************************************************
*             This is a public mailing list!              *
* Please do not publish Sun proprietary information here! *
*        -  -  -  -  -  -  -  -  -  -  -  -  -  -         *
*             http://www.moshpit.org/pilotmgr             *
***********************************************************


SourceForge.net Logo