View Single Post
I'm trying to change the context of an existing task using applescript.

I've got the following code:
set context of theSelectedTask to "Phone"

I have a phone context at the root level


When I try to run through the code, I get the following error:

OmniFocus got an error: Can’t make "Phone" into type context, missing value.


I've spent hours on google trying to figure it out, but all examples I find seem to be doing things the same way I am, but without the error.

I've tried changing the context and other stuff, but no luck yet.

I'm sure I'm doing something dumb, any thoughts?

greeno