time logging

If you're like me who sometimes likes to use to log hours at work, here's a handy bit of AppleScript that will sum up the durations of events in a particular calendar and give the result in both hours and a human-friendly textual representation.

Drop it in your ~/Library/Scripts/Applications/Calendar folder to have it magically appear in your Script Folder when Calendar is active.

Using AppleScript always makes me happy that I don't have to use AppleScript.