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.