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 > OmniOutliner > OmniOutliner 3 for Mac
FAQ Members List Calendar Today's Posts

 
filter content by pop up list phrase Thread Tools Search this Thread Display Modes
I would appreciate some advice on how to filter the content in my omnioutliner view by rows which contain a specific pop up list value on one of my columns.

In a previous post there is a reference that this feature is in the tool bar, I've checked the toolbar preferences, however, can not see this feature.
 
Quote:
Originally Posted by hypnosimon View Post
... how to filter the content in my omnioutliner view by rows which contain a specific pop up list value on one of my columns.
Not directly possible in the current version - see the FAQ at

http://www.omnigroup.com/products/omnioutliner/support/

(though you could use applescript to generate a filtered copy of an existing document)

Quote:
Originally Posted by hypnosimon View Post
In a previous post there is a reference that this feature is in the tool bar, I've checked the toolbar preferences, however, can not see this feature.
I wonder if this was a reference to OmniFocus ?

--
 
Thanks for the quick response
 
Quote:
Originally Posted by hypnosimon View Post
Thanks for the quick response
Using applescript to create a duplicate document, containing only the rows which match some criterion, is fairly straightforward. The key code might look something like this:

Code:
tell application id "com.omnigroup.OmniOutlinerPro3"
	-- get a reference to the selected document 
	set docFront to front document
	
	-- filter the rows using a WHERE statement
	-- e.g. Check box
	--    set refRows to a reference to (every row of docFront where state is checked)
	-- OR main text of row
	--    set refRows to a reference to (every row of docFront where topic contains "action")
	-- OR a text column
	--    set refRows to a reference to (every row of docFront where text of cell 3 contains "action")
	-- OR the value of a pop-up box
	--    (Cell 1 is the check-box, Cell 2 is the topic, Cell 3 the 1st user-defined column ...)
	set refRows to a reference to (every row of docFront where value of cell 3 is "Joe")
	
	
	-- duplicate the filtered rows to a new blank document
	set docFiltered to make new document with properties {name:"FILTERED"}
	duplicate refRows to the end of the children of docFiltered
end tell
--

Last edited by RobTrew; 2010-04-11 at 09:26 PM..
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
Great idea for Today list, but hindered by filter bug Craig OmniFocus 1 for Mac 12 2010-07-23 03:36 PM
Filter projects list by context on iPhone? cvilledave OmniFocus for iPhone 12 2010-05-14 09:44 PM
Questions about the content.xml. Dex OmniFocus Extras 19 2009-04-04 05:03 PM
Sort filter + Next filter + repetitive actions santra OmniFocus 1 for Mac 4 2007-10-28 12:28 PM
AdBlock: Import/sync filter list musti OmniWeb Feature Requests 6 2006-08-29 01:23 PM


All times are GMT -8. The time now is 04:25 PM.


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