Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Applescript > Address Book im...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 1604 of 1612
Post > Topic >>

Address Book import vCard

by Jason8 <jason.leach@[EMAIL PROTECTED] > Apr 27, 2008 at 04:20 PM

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).




 1 Posts in Topic:
Address Book import vCard
Jason8 <jason.leach@[E  2008-04-27 16:20:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 13:29:47 CDT 2008.