Hello! I have developed an AppleScript to sync OmniFocus tasks to the Calendar app based on a task’s tags. It’s been a progressive work over time but I’ve improved on it over the last 11 months to the point where it’s succinct and works very well for my needs. I hope that others out there will find this useful as well!
Key Points
- Create macOS Calendar events from OmniFocus tasks that are due today/soon
- Multiple calendars can be used and tasks added to a particular calendar depends on a task’s tag
- Events that are tagged/shared aren’t duplicated onto my own OmniFocus calendar via include/exclude parameter
- Flagged tasks will have its calendar event have an alert occur on the task’s due date
- A notification is displayed when the script starts and when the script ends, including info about runtime
- Using the .plist, a launchd user agent can be created to run the script in the background every so often
The project is available here:
https://github.com/willjasen/omnifocus-tasks-to-calendar
Screenshots: