I use org-icalendar-export-to-ics
to export org-agenda scheduled tasks to iCal format, which works nicely. In my use case, I always select export the "current file" (as opposed to "combine all agenda files").
This has the effect of creating an .ics
file with a name like foo.ics
. I then have to go navigate in Finder to go find that file and then open it in iCal.
How can I direct Emacs to open
or open-with
that .ics
file automatically upon org-icalendar-export-to-ics
? I can't imagine a scenario where I would want to export to an .ics
file but not go on to open the .ics
file and import the task into iCal.
Maybe some bash scripting around org-after-save-iCalendar-file-hook
? The documentation for org-after-save-iCalendar-file-hook
says "A good way to use this is to tell a desktop calendar application to re-read the iCalendar file," but it doesn't say how to go about telling my desktop calendar to do that.