The dish on parenting ... check out the new ParentDish!

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:
  1. Open Address Book
  2. Go to Preferences (Address Book > Preferences or use command + , )
  3. Click Template
  4. Then in the "Add Field" drop-down box, select "Birthday"
Once you have done that, all new cards created will show the Birthday field for you to add your contact's birth date. If you have not entered any birthdays in your contacts, then you can now go through and edit the cards and add the birthdays to the newly added field.


Setting up the Automator workflow

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:
  1. "Find People with Birthdays"
  2. "Send Birthday Greetings"
Let's tweak some settings so we can save this as a reusable application. Under the options of both of the actions, select the "Show this action when the workflow runs" check-box. This will allow you to reuse this workflow and change options each time it runs.

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.



Once you have completed the workflow, an already addressed mail message will be created in Mail; your picture and message will be automatically added to it.

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!

Related Headlines

Reader Comments (Page 1 of 2)

| 1 | 2 |

TUAW Features

Mac 101 iPhone Around the Worldask-tuaw
Mac News
Macworld (488)
.Mac (37)
Accessories (612)
Airport (70)
Analysis / Opinion (1277)
Apple (1584)
Apple Corporate (534)
Apple Financial (182)
Apple History (39)
Apple Professional (48)
Apple TV (156)
Audio (439)
Bad Apple (117)
Beta Beat (143)
Blogging (84)
Bluetooth (15)
Bugs/Recalls (56)
Cult of Mac (860)
Deals (199)
Desktops (114)
Developer (207)
Education (94)
eMac (10)
Enterprise (125)
Features (373)
Freeware (356)
Gaming (341)
Graphic Design (20)
Hardware (1254)
Holidays (37)
Humor (570)
iBook (65)
iLife (229)
iMac (182)
Internet (301)
Internet Tools (1272)
iTS (946)
iTunes (781)
iWork (17)
Leopard (345)
Mac mini (109)
Mac Pro (49)
MacBook (197)
MacBook Air (71)
Macbook Pro (217)
Multimedia (427)
Odds and ends (1397)
Open Source (268)
OS (874)
Peripherals (189)
Podcasting (180)
Podcasts (84)
Portables (195)
PowerBook (135)
PowerMac G5 (49)
Retail (552)
Retro Mac (46)
Rig of the Week (42)
Rumors (600)
Software (4181)
Software Update (385)
Steve Jobs (247)
Stocking Stuffers (50)
Surveys and Polls (97)
Switchers (107)
The Woz (33)
TUAW Business (224)
Universal Binary (280)
UNIX / BSD (60)
Video (893)
Weekend Review (75)
WIN Business (47)
Wireless (78)
XServe (33)
iPhone/iPod News
iPhone (1333)
iPod Family (1983)
Mac Events
One More Thing (25)
Liveblog (0)
Other Events (222)
WWDC (184)
Mac Learning
AppleScript (0)
Ask TUAW (97)
Blogs (84)
Books (24)
Books and Blogs (62)
Cool tools (437)
Hacks (450)
How-tos (470)
Interviews (33)
Mods (182)
Productivity (577)
Reviews (100)
Security (143)
Terminal Tips (55)
Tips and tricks (554)
Troubleshooting (161)
TUAW Features
iPhone 101 (23)
TUAW Labs (3)
Blast From the Past (16)
TUAW Tips (137)
Flickr Find (32)
Found Footage (66)
Mac 101 (77)
TUAW Interview (31)
Widget Watch (196)
The Daily Best (1)
TUAW Faceoff (4)

RESOURCES

RSS NEWSFEEDS

Powered by Blogsmith

Sponsored Links

The Unofficial Apple Weblog (TUAW) bloggers (30 days)

#BloggerPostsCmts
1Dave Caolo550
2Mat Lu5410
3Cory Bohon444
4Erica Sadun341
5Scott McNulty312
6Steven Sande2913
7Robert Palmer2732
8Brett Terpstra220
9Michael Rose2019
10Mike Schramm162
11Joshua Ellis104
12Christina Warren618
13Nik Fletcher41
14Chris Ullrich42
15Victor Agreda, Jr.18
16Jason Clarke11
17Lisa Hoover11

Featured Galleries

Macworld 2008 Keynote
Macworld 2008 Build-up
Macworld Expo 2007 show floor
The Macworld Faithful in Line
iPhone First Look
iPhone 2.0 - .Mac push e-mail
iMac 1998
TUAW Faceoff: Screenshot apps on the firing line
Boston Apple Store (Boylston Street)

 

    Most Commented On (7 days)

    Recent Comments

    More Apple Analysis

    More from AOL Money and Finance

    Weblogs, Inc. Network

    Other Weblogs Inc. Network blogs you might be interested in: