Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arttaylor/6055465 to your computer and use it in GitHub Desktop.
Save arttaylor/6055465 to your computer and use it in GitHub Desktop.
Solve a productivity problem by sweeping it under the rug.
tell application "OmniFocus"
tell front document
set incompleteTasks to flattened tasks whose completed is false and due date is less than (current date)
set newDate to (current date) + (1 * weeks)
repeat with incompleteTask in incompleteTasks
set incompleteTask's due date to newDate
end repeat
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment