I have collected my perl scripts together with a small amount of documentation
and placed them on the web :

http://www.oplnk.net/~ajackson/software/

http://www.oplnk.net/~ajackson/software/palm_address_tools.tar.gz

dump_addrs

This script does just what it says, it dumps the contents of the address
book to STDOUT. It makes a good basic script to modify for your own 
devices.

print_labels

This script also makes use of the module PostScript::MailLabels to
generate a postscript file suitable for printing onto mailing label
stock. I use this to address my Christmas cards.

The key things I have done for this script and the next one are the
use of the custom fields. The Palm has 4 custom fields in the address book.
I define the first one to be family names, so I enter 
husband and wife, children
so that for addressing Christmas cards, I can pull out the "husband and wife"
part of the field and use that in the address.

In custom2, I put my database keys for selecting subsets of the data. I simply
put in a comma-delimited list of keys. For example, everyone on my Christmas
card list gets an "Xmas" flag in custom2.

create_teampage

Another very simple example, here I select out a subset of addresses, and
output html for a 2-column table, in alphabetical order, of the selected
addresses.


-- 
-----------------------------------------------------------------------
| Alan K. Jackson            | To see a World in a Grain of Sand      |
| [EMAIL PROTECTED]          | And a Heaven in a Wild Flower,         |
| www.ajackson.org           | Hold Infinity in the palm of your hand |
| Houston, Texas             | And Eternity in an hour. - Blake       |
-----------------------------------------------------------------------

_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to