View Single Post
You can't just supply the text name of the project or context - you must find the actual project or context object.

There are a number of ways to do this, please refer to the scripting dictionary.