• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: vCard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vCard


  • Subject: Re: vCard
  • From: Christopher Nebel <email@hidden>
  • Date: Tue, 24 Feb 2004 11:16:43 -0800

On Feb 24, 2004, at 6:28 AM, Paul Berkowitz wrote:

On 2/24/04 4:12 AM, "Bob Cuilla" <email@hidden> wrote:

Has anyone done any serious vCard creation, using Address Book or
otherwise? Any tips?

Totally simple in Entourage:

set dsk to path to desktop as Unicode text
tell application "Microsoft Entourage"
tell contact "Joe Blow" -- or some other way of specifying contact
set n to its name
set vData to its vcard data
end tell
end tell
set f to open for access file (dsk & n & ".vcs") with write permission
set eof f to 0
write vData to f
close access f

No way that I know in Address Book without resorting to GUI scripting ... I do hope they make some way to export and import vCards in Address Book.

Your wish has been granted. The Entourage script above works with Panther Address Book, adjusting slightly for terminology: change "contact" to "person", and "vcard data" to "vcard".


--Chris Nebel
AppleScript Engineering
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: vCard
      • From: Michelle Steiner <email@hidden>
    • Re: vCard
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: vCard (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Classic App Scripting
  • Next by Date: Re: redirect in mail.app
  • Previous by thread: Re: vCard
  • Next by thread: Re: vCard
  • Index(es):
    • Date
    • Thread