View Single Post
Originally Posted by RobTrew View Post
here is a script which runs happily from a script editor, but will immediately crash Omnifocus ... if you try to run it from the toolbar.

Two years later, in addition to its other limitations, the OF toolbar script-running mechanism still seems to retain a crashing defect.

The following simple script, which exits gracefully when run from the OF script menu, still instantly crashes OF on my system when run from the OF toolbar ...

tell application "OmniFocus"
	close every window
end tell