tell application "OmniFocus" activate tell default document repeat 10 times make new document window end repeat end tell close front window end tell