View Single Post
I'd love to be able to access the OmniFocus date entry shortcuts via
AppleScript. E.g. the ability to type things like

• 2d, -3w, 1h, 1y1m, and so on — Relative dates and times put the date
at a certain amount of time from right now. Negative numbers
represent times in the past.
• 2 days, -3 weeks, 1 hour, 1 year 1 month, and so on — You can use
the full names of units too.
• yesterday, tomorrow, next thursday, last month, this friday, and so
on — You can refer to relative dates using common words. “This”,
“next”, and “last” have specific meanings: this friday always means
the Friday in this week, next friday always means the Friday in the
next week, and last friday always means the Friday in last week,
regardless of what day today is. Other units work in the same way.
• september, thurs, 2019, and so on — If you enter the name of a
specific time period, the date will be at its beginning. So
september means Septem- ber first.
• 5/23/08 10a, 9.30.09 2:00 PM, and so on — You can use the short date
format as defined in your International system preferences. specified in the OmniFocus manual.

The OmniFocus `complete` command seems like a good candidate to
implement this. Possible usage:

	tell application "OmniFocus"
		tell front document
			set newDate to (complete "next thursday" as date)
		end tell
	end tell
This would be _extremely_ useful in streamlining certain actions.

I've emailed to request this feature... if others think this would be useful, please email them too! :)