View Single Post
Ah. This does work:

Code:
tell application "OmniFocus"
	set oWin to window 1
	
	set foo to available view mode identifiers of oWin
	set selected view mode identifier of oWin to "context"
end tell
The problem seems to lie in specifying a document window ...