View Single Post
I'm trying to write an Applescript to run daily at 8am, which will bring OmniFocus to the front with the Due Soon perspective showing. However, this script activates OF but does not change the displayed perspective:

Code:
tell application "OmniFocus"
	activate
	tell the default document to tell the front document window to set the perspective name to "Due Soon"
end tell
There is no error shown. Where am I going wrong?

Thanks