Re: birth date from Address Book
Re: birth date from Address Book
- Subject: Re: birth date from Address Book
- From: Darwin Zins <email@hidden>
- Date: Wed, 12 Mar 2003 01:15:03 -0600
What is the significance of properties? Maybe it is 101, but I don't
really know anything about applescript and I seem to be having problems
finding reference information. Searching the archives of this email
group is the best thing I have found so far, any pointers to some good
tutorial/reference materials?
tell application "Address Book"
set aCard to person 1
set theProps to properties of aCard
set a_birth_date to birth date of theprops
--> date "Saturday, October 16, 1948 12:00:00 AM" --[US style]
set aCard to person 2
set theProps to properties of aCard
set a_birth_date to birth date of theprops
--> missing value
end tell
Finally, you switched varuables midstream, from a_birth_date to
my_birth_date, so every line in the script was erroring. So that's only
about 9 little errors - welcome to AppleScript!
Sorry about that, that was a typo in the email.
Thank you for the help,
Darwin
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.