View Single Post
Quote:
Originally Posted by roontoon View Post
set theText to parse tasks with transport text Unicode text
--set MyDoc to parse tasks with transport text theText as single task singleTask
set start date of first item of MyDoc to (current date) + 1 * days
set due date of first item of MyDoc to (current date) + 4 * days
end tell
end tell
Uh, yeah, "unicode text" is a description of what is supposed to go there :)

so

Code:
parse tasks with transport text "draft plans > Build giant robot @ Lair of doom #today #+3d" as single task true
would create an action called "draft plans" in project "Build giant robot" with context "Lair of doom" with a start date of today and a due date of 3 days from now, and the "as single task true" bit is only needed if you had a multiple line entry that you wanted parsed as a single action.

I tried to suggest this in the original "a bit of advice" thread, but I also showed you what was wrong with your code and I fear I distracted you from this course, sorry about that.