Mac Automation: Birthday greetings
I am sure that everyone has forgotten other peoples birthday's from time-to-time (*raises hand*). Luckily, with Mac OS X's built-in Address Book and Automator, you can automate the remembering and sending of greeting cards by e-mail -- thus eliminating the awkwardness of forgetting. In this how-to I will show you how to create a birthday field in your Address Book contacts, and how to send an e-mail birthday greeting when the time is right. To learn how to do this, read on.
Setting up Address Book
Before we start building the Automator workflow, let's make sure that your Address Book contacts are set up properly. By default, Mac OS X's Address Book doesn't include a field to fill in the birthdays; so let's set up the default template to automatically include this:
- Open Address Book
- Go to Preferences (Address Book > Preferences or use command + , )
- Click Template
- Then in the "Add Field" drop-down box, select "Birthday"


Now let's set up the Automator workflow that will make the "magic" happen. You will need the following Automator actions in the same order as they are listed:
- "Find People with Birthdays"
- "Send Birthday Greetings"

Saving the workflow
Now let's save this workflow as an application. Click File > Save. Specify a name, and chose "Application" from the "Format:" drop-down box. This will save your workflow as a Mac OS X application.

Running the workflow
Double-click on the application you just saved to run the workflow. The workflow will prompt you for a search interval. Use the drop-down box to specify how far ahead to search for the birthdays. I chose "This week" to search for birthdays occurring this week.

The workflow will then search for all birthdays that are occurring this week. If it finds more than one person, it will pass it through the workflow as well -- so you can have more than one birthday greeting when it is finished running. Once it has finish searching, another dialog will prompt you to chose a birthday greeting image, and write a short message. Notice that if you have more than one recipient, this message will be copied to all of the messages; so if you want to personalize the message, it's best to wait until the workflow sends it to Mail. Notice that you can also choose to send a random image to each recipient and have the computer randomly pick images.

If you encounter many birthdays each week, consider placing this application in your dock and setting it to run on startup -- then you will be sure to never miss a birthday!
Share
I am sure that everyone has forgotten other peoples birthday's from time-to-time (*raises hand*). Luckily, with Mac OS X's built-in Address...
Add a Comment
Very good advice the problem is manual adding of address and Birthday.
thank you.
Jeylan
http://www.todaymybirthday.com
@Ebika:
I was searching for the same and have found an applescript to insert into the workflow here: http://www.macuser.de/forum/archive/index.php/t-263128.html (you'll need to install growlnotify). It works for me but I am still tweaking it (my plan is to have one sticky notification for each person who has birthday with name and birthday as title and tel number + email as message)
The problem I have with the Address Book/iCal birthday relationship is this: many of my contacts are a couple or a family (ie: Bob & Sue Jones) that only have and share one "home" e-mail address. How do I enter or use both their birthdays?
I have tried adding a field "dates" into the contact template, but these dates don't link up or show up in iCal.
Any suggestions out there?
Cheers,
Chris
Is there perhaps a way to have automator create a new calendar, collect all the birthdays from Adressbook and populte these into the new calendar? You can add an alarm at the same time.
After that, it should be possible to run automator when you add a contact or birthday details, to update the new calendar. You can then remove the Addressbook-calendar.
In doing something like this (if possible at all), it is as close as it gets to using the built-in Addressbook-calendar and have automatic warnings (instead of emails ready to send only when running the automator script....)
Anyone knows whether this is possible?
Cheers,
Michiel
I'm no luddite. I'm all for using technology to connect with people, but junk mail for my birthday? I am cutting you right off if you do that to me. You are not coming to my party!
Unless of course you show up with a bunch of the best red roses, a bottle of the best bordeaux, and an itsy-bitshy gift, hand-wrapped, with a card, in your own handwriting!
http://flourishing20.wordpress.com
Hey Cory,
Thanks for the tips with automater. I have never really used it before, and so am still getting familiar with it. I did have a question I wanted to ask. What would be the best way to have an automated process by which I assign a key that will automatically open system preferences, start-up disk, and then select my Vista partition, and get me to the restart option so that all I have to do is press enter? I tried with Automator record, and it never followed what I did. The arrow doesn't make it past selecting the apple icon. Can you give any suggestions? I basically would like to set up a script, and assign it to an F-key or something. Thanks.
Michael --
You may want to try a different utility for selecting your Boot Camp startup; BootPicker, from bombich.com. Check it out.
Use Automator to get automatic email reminders of upcoming birthdays
http://discussions.apple.com/thread.jspa?messageID=6601677�
Thank you for this! Really cool and easy. And I had never even opened Automator before!
February 14 2008 at 11:59 AM Report abuse Permalink rate up rate down ReplyMe too! This was my first try at using Automator -- it looks really great! Where's the best place to go to find really cool scripts like this?
February 14 2008 at 5:19 PM Report abuse Permalink rate up rate down ReplyI would love to use automator to find upcoming birthdays and pop up a growl notification. Sending an email isn't always my preferred action, so I would just like to be reminded of birthdays in a simple popup message. I know there are some full applications out there that sort of do this, but I'd like a simple automator configuration instead. Anyone know how to do this?
February 14 2008 at 1:04 AM Report abuse Permalink rate up rate down Replyhmmm,... I have an error message saying that it's impossible to obtain «class boxO» "mail message" of mising value (-1728)
February 13 2008 at 9:45 PM Report abuse Permalink rate up rate down Replythis just happened to me too. There has to be a birthday for the automation to actually work. If there isn't a birthday during your selected search... it will error out
February 13 2008 at 10:46 PM Report abuse Permalink rate up rate down ReplyI've just put my birthday today to test it out. I got the error message again, but then it actually did open my mail and wrote everything ready to send.
February 14 2008 at 6:19 AM Report abuse Permalink rate up rate down ReplyHot Apps on TUAW
Deals of the Day
more deals- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- miFrame Picture Frame Dock for iPad for $64 + $8 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
- Hannspree Apple-Shaped 28" 1080p LCD HDTV for $270 + free shipping
- Philips wOOx Alarm Clock Radio for Apple iPod / iPhone for $60 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



21 Comments