View Single Post
Quote:
Hrm; this is working for me. If you have a full example that doesn't work, let me know. Here is what I'm doing (given that I have a context "a" in my document):
I ran into a situation with the recently added "complete" verb: this didn't work...

Code:
tell first document of application "OmniFocus"
	complete "a" as context
end tell
...but when I typed your sample code verbatim...

Code:
tell application "OmniFocus"
	tell default document
		complete "a" as context
	end tell
end tell
...it worked fine. Shouldn't these two blocks of code return the same result? I suspect my flagged context issue may be related, since our code is identical apart from the nested tells.