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

 
All but on-hold Projects? Thread Tools Search this Thread Display Modes
I can't seem to figure out how to create a perspective that is all projects except those that are on hold.

I want to see active, stalled and pending all at one time in the projects window.

How do I do that?
 
If you are running OF 1.8, and don't mind a flattened list of your projects (ie don't mind temporarily hiding the folder structure), you could do this with an applescript along the lines of:

Code:
tell application id "com.omnigroup.omnifocus"
	tell front document
		set lstNotOnHold to flattened projects where (status is not on hold) and ((effectively hidden of its folder is false) or (its folder is missing value))
		set focus of front document window to lstNotOnHold
	end tell
end tell
And later restore the normal view (and visibility of folders) from the menu system with View > Show All Projects

--
 
Well 1.8 isn't out yet as far as I can tell and I do need my folders to be there. A flattened list is not workable for me. Thanks for trying though...
 
Quote:
Originally Posted by Oogiem View Post
Well 1.8 isn't out yet as far as I can tell and I do need my folders to be there. A flattened list is not workable for me. Thanks for trying though...
1.8 is available as a sneaky peek: http://www.omnigroup.com/products/om...ad/sneakypeek/
 
Try grouping by folder after running Rob's script...
 
Quote:
Originally Posted by whpalmer4 View Post
Try grouping by folder after running Rob's script...
and you could use a version of the script which includes that step:

Code:
tell application id "com.omnigroup.omnifocus"
	tell front document
		set lstNotOnHold to flattened projects where (status is not on hold) and ((effectively hidden of its folder is false) or (its folder is missing value))
		tell front document window
			set focus to lstNotOnHold
			set selected grouping identifier of content to "folder"
		end tell
	end tell
end tell
 
OK Stupid question, how/where/using what SW do I run the script?
 
Quote:
Originally Posted by Oogiem View Post
How/where/using what SW do I run the script?
In this thread, you will find instructions for installing it on your OF toolbar.

--
 
OK Now I'm getting an error in the script editor when I try to save the script to the desktop so I can move it to the script folder.

A plural expected where end of line should be and it's highlighting projects in the 3rd line.

Here's the exact message "Expected end of line but found plural class name."
 
Quote:
Originally Posted by Oogiem View Post
OK Now I'm getting an error in the script editor when I try to save the script to the desktop so I can move it to the script folder.

A plural expected where end of line should be and it's highlighting projects in the 3rd line.

Here's the exact message "Expected end of line but found plural class name."
Probably best to test the script in the editor before try to move it, but in the meanwhile, couple of questions:
  1. I presume that you are now running OF 1.8 (sneaky peek) ?
  2. Have you copied and pasted the whole of the script straight into the Applescript Editor ?

I attach a zipped copy of the script.

(I do appreciate, incidentally, that downloading and installing scripts is not the ideal solution to getting customized views of your data - I have an idea that OF 2 will aim to extend the flexibility of perspectives and search, and spare us some of the indignity of having to write or download scripts to find the things we are looking for, and get the view we want.
Having said that, OF 1.8 has already made such scripts very much easier to write and understand, which is more than welcome ... )

--

Last edited by RobTrew; 2011-07-05 at 07:46 AM..
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reviewing projects on hold NaviKhota OmniFocus for iPad 1 2012-05-14 06:26 AM
Available items & On hold projects physicistjedi OmniFocus for iPhone 15 2009-09-16 05:14 AM
'On Hold' for a folder of projects hagbard5235 OmniFocus for iPhone 0 2008-08-16 07:05 PM
On Hold Projects gerry OmniFocus for iPhone 4 2008-08-01 01:46 PM
Possible to have on-hold Actions (like Projects)? omnibob OmniFocus 1 for Mac 7 2007-12-27 03:23 PM


All times are GMT -8. The time now is 03:53 AM.


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