• 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: scripting Apple Address book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripting Apple Address book


  • Subject: Re: scripting Apple Address book
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 01 Mar 2007 10:50:20 -0800
  • Thread-topic: scripting Apple Address book

On 3/1/07 10:16 AM, "Bob Cuilla" <email@hidden> wrote:

> I am scripting AB quite succesfully , but have not been able to set a
> "birth date"
>
> snippet:
>
> set birth date of thePerson to "1/2/2005"
>
> always returns an error.
>
>
> Am I missing something basic?

You're trying to set it to a string, not a date. Try

    set birth date of thePerson to date "1/2/2005"


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

References: 
 >scripting Apple Address book (From: Bob Cuilla <email@hidden>)

  • Prev by Date: Re: scripting Apple Address book
  • Next by Date: Re: Filemaker waiting for AS
  • Previous by thread: Re: scripting Apple Address book
  • Next by thread: Re: shell scripting
  • Index(es):
    • Date
    • Thread