View Single Post
This has been bugging me for a while. I usually want to enable/disable the tool bar and viewbar together.

With a bit of googling I cobbled the following applescript together that does the job:

Code:
tell application "OmniFocus"
	activate
	tell application "System Events" to keystroke "V" using command down
	tell application "System Events" to keystroke "t" using {command down, option down}
end tell
I'm running this from Alfred triggered with the command "oft", but I'll contact Omni and put in my request to have the view bar state stored by the perspective.