The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus Extras
FAQ Members List Calendar Today's Posts

 
Scripting new window creation Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
I'm working on a script to replace the current front window with two windows, one above the other, occupying the same area. This layout is useful for inbox processing. I can display my inbox in the top window and individual projects in the bottom window.

I would like to open a new document window from the script but can't find the right incantation (or else the scripting for this is broken).

Here's what I think should work:

Code:
tell application "OmniFocus"
	tell front document
		make new document window at before front document window ¬
			with properties {document:it}
	end tell
end tell
Any ideas?

[Also reported through Send Feedback.]
__________________
Cheers,

Curt
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
Scripting to work with Lion's full screen window. RobTrew AppleScripting Omni Apps 0 2012-01-13 08:19 AM
The iPad, the Cloud and Anywhere To Do Creation therickaustin OmniFocus for iPad 6 2010-06-06 01:07 PM
Scripting bug on "close window" iNik OmniFocus Extras 1 2008-05-27 03:01 PM
Shortcuts for shortcut creation? philb OmniWeb General 0 2008-01-03 01:38 PM
Bug in new no-Context task creation? rajrsingh OmniFocus 1 for Mac 1 2007-10-05 11:01 AM


All times are GMT -8. The time now is 06:48 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.