View Single Post
I'm starting to poke around with the scripting interface. I've been unable to sling the code to access the selected tasks. I think this should work:
Code:
tell application "OmniFocus"
	tell document window of front document
		tell content
			return selected trees
		end tell
	end tell
end tell
But I get "OmniFocus got an error: NSInternalScriptError".

Anyone have this sorted out yet?

(Also sent via Send Feedback)