Now Contact

does anyone know if it is possible to applescript a search on keywords in now contact and to save, name and make a file primary in now contact.

what i am trying to do is automate now contact pairing down a 16,000 contact file to a smaller primary file for the sake of hotsyncing to a palm. and hotsync will only sync a primary contact file.

Limore