Re: scripting Apple Address book
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