Member
2013-10-29, 10:25 AM
Got it figured out! If anyone else is trying to solve this via Ruby appscript you need to do something like this:
....
proj_name = new_task_properties["project"]
proj = omnifocus_document.flattened_tasks[proj_name]
.... build task props
proj.make(:new => :task, :with_properties => tprops)
Instead of the old:
new_task = omnifocus_document.make(:new => :inbox_task, :with_properties => tprops)
new_task.assigned_container.set(proj)
omnifocus_document.compact
I had before.