Other pages

Other software/code by me

Download Appcast: RSS 2.0
$SW_DISPLAY_NAME icon

icalBuddy

icalBuddy is a command-line utility that can be used to get lists of items (i.e. events and tasks/todos) from the OS X calendar database (the same one iCal uses.) It requires Mac OS 10.5 or later. See my blog post about it for more info.

Documentation:
Example of use (click here to show/hide):

If you are going to use icalBuddy with GeekTool, I recommend that you try my custom build of it — it includes some features that might be useful, like ANSI escape sequence formatting support (i.e. colors, bolding, underlining etc.) and unicode (UTF-8) support (for displaying non-ASCII characters like umlauts, arabic or hebrew). Version 3 of GeekTool also seems to be coming along nicely and it seems to have some (or all?) of these features already so it might be better to check that one out first, though.

icalBuddy has been written in Objective-C (with a little bit of C sprinkled on top), using the OS X Cocoa, CalendarStore, AppKit and AddressBook framework APIs. This software is licensed under the MIT License.

Copyright © 2008-2010 Ali Rantakari.

Source code is available in a Git repository (click here to show/hide):
 

Latest version:

Version 1.7.1      →    Download
February 21, 2010

Changelog:

  • Fixed a bug where when using the -sed (or --showEmptyDates) argument (and separating events by date), the date span to display sections for was interpreted as "span between the first and last found event" when the more logical solution is "span specified by user in the arguments" (which is how it works now).
  • Fixed a bug where the start time for a multi-day-spanning timed event was shown under all of the days it spans when separating events by date and excluding event end datetimes (now in these cases the start time is displayed as "..." under days on which the event does not start).
  • When printing events separated by date, the start and end times for a timed event that neither starts or ends on the date under which it's shown are now displayed as "... - ..." (instead of not at all).
  • The latin translation for "nothing" was fixed.
 

Older versions:

Show/hide older versions