Find all tasks with duration

True of AppleScript, but not of omniJS JavaScript, as it happens.

It could be done with a custom omniJS plugin which would run on both macOS and iOS.


See, for example:

and Automation > API Reference


But for JS plugins you might have to upgrade to the full edition.


It might be worth looking at:

Omni-Automation/Total of estimated minutes.omnifocusjs at master · unlocked2412/Omni-Automation

2 Likes