• 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: birth date from Address Book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: birth date from Address Book
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: birth date from Address Book (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: running applescripts from Mail
  • Next by Date: Re: birth date from Address Book
  • Previous by thread: Re: birth date from Address Book
  • Next by thread: Re: birth date from Address Book
  • Index(es):
    • Date
    • Thread