• 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: How does one save a vcard?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does one save a vcard?


  • Subject: Re: How does one save a vcard?
  • From: Paul Berkowitz <email@hidden>
  • Date: Fri, 30 Mar 2007 10:20:54 -0700
  • Thread-topic: How does one save a vcard?

On 3/30/07 10:03 AM,
"applescript-users-bounces+berkowit=email@hidden"
<applescript-users-bounces+berkowit=email@hidden> wrote:

> On Mar 30, 2007, at 9:34 AM, Paul Berkowitz wrote:
>
>> Sorry, Michele, I changed the variable name inconsistently after
>> testing
>> (there's a 'num' in the penultimate line that should be a 'foo').
>> Should be:
>
> I noticed, and fixed it.
>
> BTW, if the script creates the vcf file with the Finder, and then
> writes to that file with file commands, it works.
>
> It's a good workaround, but I'd still like to know why Address Book's
> "Save" command doesn't work.

It's not a workaround - that's what you do with 'vcard'. 'vcard' is text -
you should not expect to be able to use the 'save' command on text.

What you _might_ expect is to be able to:

    save person 1 in file dest

where dest is the file path. (In apps where this works, it usually works
with just the path too, omitting the 'file'. It's a mistake, that has been
perpetuated since OS 7, that 'save' in the Standard Suite claims to take the
'alias' type as its 'in' parameter: it should take 'file'.)

But this has not been implemented for 'person' - you can't save a person,
although it would be nice if you could. Perhaps it works only for 'message'?

It is useful that 'vcard' property exists, so creating a vcf can be
achieved. But don't expect to 'save' it - it's just text, can't be saved.
Write the text to a file - that may be a workaround for the fact that you
can't save a person, but it's not a workaround for what you do with the
vcard property.

--
Paul Berkowitz


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: How does one save a vcard?
      • From: Michelle Steiner <email@hidden>
    • Re: How does one save a vcard?
      • From: Doug McNutt <email@hidden>
References: 
 >Re: How does one save a vcard? (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Selecting existing mail account
  • Next by Date: Re: renaming JPEG FILES
  • Previous by thread: Re: How does one save a vcard?
  • Next by thread: Re: How does one save a vcard?
  • Index(es):
    • Date
    • Thread