templates-for-omnifocus icon indicating copy to clipboard operation
templates-for-omnifocus copied to clipboard

Enhancement: use default defer/due date set in preferences

Open ksalzke opened this issue 2 years ago • 0 comments

From Kennon Bickhart (via Slack):

Is there a way to use my default defer / due date that I set in OF preferences alongside the templated defer / due dates that get set?

Kennon's modifications:

In Resources/templateLibrary.js: Line 257: const dueString = task.note.match(/\$DUE=(.*?)$/m)[1] + ' ' + settings.objectForKey("DefaultDueTime") Line 264: const deferString = task.note.match(/\$DEFER=(.*?)$/m)[1] + ' ' + settings.objectForKey("DefaultStartTime")

I suspect that will mean that you can’t set a due time specifically perhaps, will need to play around with it when I get a change then I’ll update the script

ksalzke avatar May 29 '22 03:05 ksalzke