I know that the following sets the focus to a specific folder. And I know how to set it to all folders/projects… But how to remove focus from a document window completely?
tell application "OmniFocus"
tell default document
set folderList to folders whose name is "xyz"
tell the front document window
set focus to folderList
end tell
end tell
end tell
Thanks