I want to write a script like this:
but, I got error: "error "OmniFocus got an error: Can’t make \"1d\" into type date, missing value." number -1700 from "1d"".
I need help...
PHP Code:
tell application "OmniFocus"
tell default document
set Val1 to "foo"
make new inbox task with properties {name:Val1, due date:"1d"}
make new inbox task with properties {name:Val1, due date:"3d"}
make new inbox task with properties {name:Val1, due date:"7d"}
end tell
end tell
I need help...