Open up your default document and run this script:
The same happens with a "close window 1". If I close windows behind the first one, (i.e. "close window 2") things work just fine.
tell application "OmniFocus" to tell default documentIt closes every window. Not just the new one.
make new document window
close result
end tell
The same happens with a "close window 1". If I close windows behind the first one, (i.e. "close window 2") things work just fine.