Adding fields to Address Book
Hi Gals and Guys:
I just downloaded Dates to iCal(which syncs iCal & Address Book) and, not having a birthday/date field in my Address Book entries(as I didn't know they existed), now I'm faced with adding the field to at least 75 one at a time. Is there any way of doing that simultaneously? I tried it with all entries selected and Automator but no dice.
\tThanks for your help.
Steve
I just downloaded Dates to iCal(which syncs iCal & Address Book) and, not having a birthday/date field in my Address Book entries(as I didn't know they existed), now I'm faced with adding the field to at least 75 one at a time. Is there any way of doing that simultaneously? I tried it with all entries selected and Automator but no dice.
\tThanks for your help.
Steve
Comments
Select this script's 5 lines, choose Safari->Services->Script Editor->Make New AppleScript, and then switch to Script Editor and click Run.
tell application "Address Book"
\trepeat with thePerson in people
\t\tset birth date of thePerson to current date
\tend repeat
end tell
Originally posted by lundy
This little script will add the birthdate field to every person in the Address Book, and also make all the birthdates "5/18/2006". They have to have a value or else Address Book won't keep them. I assume your utility is going to fill them in from iCal?
Select this script's 5 lines, choose Safari->Services->Script Editor->Make New AppleScript, and then switch to Script Editor and click Run.
tell application "Address Book"
\trepeat with thePerson in people
\t\tset birth date of thePerson to current date
\tend repeat
end tell
I appreciate it, lundy. I'm sure that would work but I had also contacted the program's(Dates to iCal) developer(prior to hearing from you) and he said to use the Template tab of Address Book's preferences. I'm kicking myself as I should have at least checked out AB's prefs. if I had I could have solved this myself.
The program syncs AB and iCal, and generates an alert when a b'day or date is close.
Thnks again,
Steve