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 1 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
close all windows except the front Thread Tools Search this Thread Display Modes
I often find myself with too many OF open windows.

Does anyone know a trick to close all open windows except the front? I know if you hit the small button with the x in the middle (top left of the window) and hold down the option key all windows will close.

Thanks,
Steve
 
This script should do the trick:

Code:
tell application "OmniFocus"
	set mainWindow to front window
	set frontID to id of mainWindow
	set background to (every window whose id is not frontID)
	repeat with thisWindow in background
		close thisWindow
	end repeat
end tell
Shamelessly derived from troyb's script to merge OmniWeb windows!
Attached Files
File Type: zip Close Excess Windows.scpt.zip (2.2 KB, 227 views)
 
Thanks so much for taking the time to do this! I'll give it a shot.

Steve

p.s. hey that worked great!!!
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
OmniFocus for Windows or Web [A: No plans for Windows app, Web possible someday.] benlavender Applying OmniFocus 22 2012-11-16 01:26 PM
When is the web front end coming? johnrover Syncing via Omni Sync Server 3 2012-03-18 12:16 AM
Order in front and behind kbaar OmniGraffle General 0 2011-11-02 11:04 AM
Move to Back/Front? MacSparky OmniGraffle for iPad 1 2010-04-17 10:11 AM
close a window (not all windows) umop OmniFocus Extras 1 2008-02-12 06:37 AM


All times are GMT -8. The time now is 05:45 PM.


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