omnifocus-3-applescript-guide
omnifocus-3-applescript-guide copied to clipboard
How to add a task to a specific project without creating the project in the Script?
I want to create a bunch of tasks and add directly them into a project. What is the right way to do it?
@daviddias This works:
tell application "OmniFocus"
tell default document
set theProject to first flattened project where its name = "Project Name"
make new inbox task with properties {name:"Task Name", note:"Task Note", assigned container:theProject}
end tell
end tell