Sync Calendar by Planned Date

I don’t know why such a simple feature is not built in, but motivated by this thread: Tip: Show OmniFocus due dates in Calendar using Shortcuts I built a shortcut that uses the planned date and duration in minutes to block slots in my calendar. I need this because otherwise clients could book calls using Calendly. Just to explain why I want to have tasks in a Calendar.

But I have a small but annoying problem with the shortcut. Every time I loop over one of the OmniFocus actions, I need to confirm that I will allow this.
And this is for every iteration, not just once.

This is how the Shortcut looks like:

And this is the message I get all multiple times. I always click on “Allow Always”

That can’t be right?

2 Likes

Bug fixed. I had to revoke all privacy permissions. After that, the question came just once. If someone else wants to use it:

https://www.icloud.com/shortcuts/238503a7fac94c42a61a52fdb9e8fead

1 Like

It would be great if to-dos that are planned or due and have a duration synced to the calendar to reserve the time there. Great idea!

In my opinion, to sync the Due date is not a good idea:

Take a Task with a 60-min Duration.

If it has a Due Date and a Plan Date, which to sync?
Both or just one? If both, what about the duration, then 50/50 or two times 60 min?

But more importantly, if it is due at 8:00h, add the task now at 7h with the 60-min Duration or from 8:00? But is this then not too late because it was due at 8? And who wants to work at the last minute anyway on a task?

So this I way I think only Planned Date will make sense to sync and block the time. That It is Due I can see already in OmniFocus (and then I plan it)

I don’t know if the iCloud link gets updated, but I have an improved version of the Shortcut:

It now takes into account the current day