Hi:
Can anyone had luck importing a vcard into Address Book via
AppleScript? I can do wit with limited success:
set foo to make new person with open file_alias_for_vcard
It works with two problems:
1. Address book prompts my if I am sure I want to import 1 card.
2. The apple script complains about "Address Book got an error:
AppleEvent hander failed".
If I dismiss the error, and say yes to Address Book it imports the
vcard. Not as smooth as I would like. In any case I am sure I can
parse the vCard myself; it would be much nicer to just automatically
import it though.
I've read the dictionary and was just trying to create a person this
way. It says nothing about importing a vcard (only hints at exporting).