Clicky

January 20, 2008

Automator & iCal – Scheduled Sending your Spouse your Weekly Calendar

Filed under: TMUP-Blog — George Starcher @ 12:09 pm

by: George Starcher, Associate Editor

So I gave my wife my old G5 iMac a while back. I also installed BusySync. But does she look at the calendar? Nope. And you can imagine the look I get when I say “Well, it was on my Calendar.” And the response is “I won’t look in that.” So how to bring the information to her with the least amount of recurring effort on my part? Well, emailing it works since I know she reads that. Here is how you build an automator action to send a summary for the week for selected Calendars from iCal and have it run every Sunday night.

I was going to record this as audio for the show but then Victor told me how much Macworld  content video etc he has.  So I figure this is for those who read the blog.  A bonus if you will.We have to start with the Automator Action.

  1. Open up Automator.
  2. Drag over the “Find Calendars in iCal” action for EACH Calendar you want to send events for. I have work, home, medial appointmens all in their own calendars so I can view or hide them within iCal. In order for her to know all events for the week I have to make it so each.
  3. Change the Find to :Events
  4. Change the Whose to Start Date: next week
  5. Press the + button under whose and add the Calendar is “xyz” where xyz is your calendar object to pull events from.
  6. Stack these for every calendar you want to show in your email.
  7. Drag over the “Event Summary ” action from the Calendar library underneath your stacked Finds. This will make a text summary of all the events.
  8. Drag over “New Mail Message” from the Mail Library. Put in the recipient email and a nice subject like “Scheduled Events for Coming Week”
  9. Lastly drag over “Send Outgoing Messages” from the Mail Library. This will send the email.

Ok so we have our automator. Now to save it so we can schedule it to run every Sunday night.

  1. Over in iCal I would make a new Calendar like “Scheduled Automators” This is so we can have anything we schedule easy to find, delete or hide within iCal.
  2. Come back to the Automator window, click File and choose “Save As Plugin”
  3. Give it a suitable name like “Mail-WeeklySchedule”
  4. Pull down the “Plug-in for” box and choose iCal alarm.
  5. Go back to iCal and you will see a new event created on the current day. You will want to edit the event to set the desired time such as late Sunday night, to repeat every week and move it into the “Scheduled Automators” calendar.

That should do it. Now at that time every Sunday it will mail a summary for the coming week. Note if there are zero events the person will receive a blank email. Also if for some reason you need to add the alarm by hand choose “Open File” and the iCal Alarm plugins are saved by default in your user home folder/Library/Workflows/Applications/iCal location.Here is what my automator looks like.

Picture 1Uploaded with plasq’s Skitch!

Like what you read or heard? Share and Enjoy:
  • digg
  • YahooMyWeb
  • Furl
  • del.icio.us
  • NewsVine
  • RawSugar
  • Reddit
  • Spurl
  • Very cool. Always wanted to play in Automator. Thanks
  • Very Cool!! Thanks, I always wanted to play in Automator.
  • Gazmaz
    I think that Automator s something I really need to play with more, and snippets like this really help thanks good stuff :-)
  • Ross Judice
    I know how you feel, Victor. My lovely wife, Robin, is the same way. I use my .Mac account to sync all our calendars. Seems to work for her.
  • No problem. it is cool stuff. I am sure I will make more of these.
  • Steve
    I can't fine “Find Calendars in iCal” in automator. Am I looking at this wrong?
  • Anton
    I tested this and it worked if done as above, but it skips recurring events. Any suggestions how to get those added?
  • ajm
    Looks like Automator won't include recurring events (?).
  • Randy
    I love the idea, and was eager to get it working. The problem I am running in to is that I can't figure out how to have it remind me of All Day Events that have a Start or End date outside of the Next Week. Any ideas?
  • Anton
    I tried this,but it did not pick up my recurring events (say weekly meetings). Anyway to do this?
  • Alexander Balakersky
    This is great. Just what I needed. The only issue with this is that the result is not sorted by date, it is sorted by calendar in iCal. Do you think there is a way to sort by date?
  • Beautiful! When I get bills in the mail, I pop the due date and amounts into iCal. This is a great way to get automatic email reminders for the week's due bills. Thanks for sharing!
  • David G.
    Neat little tool - thanks!

    When I built this as described it works but only returns events in the first calendar in my list of 6 and only for the Monday of the week. Where might my error be?

    ~ David G
  • When I run this manually in Automator, it runs perfect, sending me a summary of 2 calendars. When run via the plugin, I get an e.mail, but the body is empty. It's like Automator never got time to populate the body of the message. This is in 10.5.2. Anyone else have this issue?
  • VA
    Same problem, won't work in 10.5.2 - creates the email empty bodied, and the same happens if, instead of an email you ask it to speak out the events: it does so in automator, fails in the real world.
    any ideas why? any good applescript substitute? my flatmate is getting there, will post if he does manage.
  • Did your flatmate figure it out? I too am still trying to automate it. It works great manually, but that isn't the point. :-) Hope you have some good news for us 10.5.2'ers out there!
  • When I run this manually in Automator, it runs perfect, sending me a summary of 2 calendars. When run via the plugin, I get an e.mail, but the body is empty. It's like Automator never got time to populate the body of the message. This is in 10.5.2. Anyone else have this issue?
blog comments powered by Disqus
 

January 2008
S M T W T F S
« Dec   Feb »
 12345
6789101112
13141516171819
20212223242526
2728293031