Calendar Availability

An Alfred Workflow


Short Description

Read Mac Calendar DB and copy schedule or availability to clipboard

Last Updated

29 Feb 2016

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

1.6
 

Bundle ID

kmarchand.calendar-avail
 

calendar-avail

Alfred 2 workflow to copy Mac Calendar data to clipboard.

Running the 'sched' or 'avail' keywords will copy either a schedule summary or a busy/available list to the clipboard.

Settings at the start of the script can be used to specify the look-ahead day count (how many days to include), the start and end of the work day and whether or not to show all calendars or specific calendars and whether or not to skip weekends.

Specify Calendars

To specify calendars, modify the settings at the start of the script to change show_all_cal to False and populate cal_list with a list of calendar IDs (in paren, comma separated). The calendar-avail-listcals.py script (https://github.com/kmarchand/calendar-avail/blob/master/calendar-avail-listcals.py) can be run to get a list of calendar IDs.

Timezones

Please note, the default timezone is set at the start of the script to 'America/Toronto'. It should hopefully work if you are in a different timezone and update that setting to match (using a value from here: http://stackoverflow.com/q/13866926), but I haven't tested for other timezones.

Note: Only tested on OS X El Capitan.

Screenshots