I'm having a difficult time with the following code. It seems to me that it should create a window and then close it, but it ends up closing all of the windows:
Code:
tell application "OmniFocus"
tell default document
set winTarget to make new document window
close winTarget
end tell
end tell
Any help? Is this a bug?
Thanks,
Eric