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



this seems to work


set j to "01/03/2007"
set h to (date j)
tell application "Address Book"
set birth date of person 2 to h
end tell


Luca


On 01/mar/07, at 19:16, Bob Cuilla 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?



Thanks


Bob Cuilla


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