• 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
Saving people
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Saving people


  • Subject: Saving people
  • From: Paul Berkowitz <email@hidden>
  • Date: Sun, 30 Mar 2003 13:07:55 -0800

Does anyone know if there's some way to save a person (contact) from Address
Book as a vCard? This ought to work:

set dsktp to path to desktop as Unicode text
set vcardPath to dsktp & "Test.vcf"
set ucardPath to POSIX path of vcardPath
tell app "Address Book"
set testPerson to person "Test"
save testPerson in ucardPath -- as "vCrd"
end tell

But I get an error of type 4, with or without the 'as "vCard"'.

Alternatively, does anyone know why 'save' is in the dictionary - what's it
supposed to save, if not a 'person'?

You don't suppose this can possibly be another bug with an Apple Cocoa app,
do you?

--
Paul Berkowitz
_______________________________________________
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.

  • Prev by Date: Re: Is there anything wrong with these two scripts?
  • Next by Date: Re: Is there anything wrong with these two scripts?
  • Previous by thread: Re: Is there anything wrong with these two scripts?
  • Next by thread: Non-AppleScript access to GUI scripting (System Events) plug-in?
  • Index(es):
    • Date
    • Thread