Clear Due Date
Summary: Removes the due date from all the selected actions.
Requires: OmniFocus Pro
Install Location: ~/Library/Scripts/Applications/OmniFocus/
Last Modified: 2026-02-18
Description
Creating new actions using the Reminders complication on watchOS will assign them a due date of “today,” which may be unwanted. You can use this script to quickly remove the due date.
Installation Instructions · Download in Compiled Format · Download in Text Format
Script
on processAction(_action)
tell application "OmniFocus"
set _action's due date to missing value
end tell
end processAction
on run {}
repeat with _action in my selectedActions()
my processAction(_action)
end repeat
end run
on selectedActions()
tell application "OmniFocus"
return my filterValues(my selectedValues(), {inbox task, task, available task, remaining task})
end tell
end selectedActions
on selectedValues()
tell application "OmniFocus"
return value of selected trees of content of first document window of front document
end tell
end selectedValues
on filterValues(_values, _classes)
tell application "OmniFocus"
set _result to {}
repeat with _value in _values
if _classes contains _value's class then
copy _value to end of _result
end if
end repeat
return _result
end tell
end filterValues