Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.