View Single Post
A quick thought: inverting the selection status of all lines.

You may find that this very short additional script is a useful complement to the row filtering script(s)

It simply toggles all rows in the document back and forth. Selected rows are unselected, and all previously unselected rows are selected. A second run will, of course, restore the previous state.

To check any indeterminate parent rows together with any checked rows, you could filter for Status Checkbox: Unchecked, and then use the additional script to invert the selections ...

Code:
-- INVERT SELECTION OF ALL ROWS in front document
-- All selected rows become unselected,
-- and all previously unselected rows are selected. 

tell application id "com.omnigroup.OmniOutlinerPro3"
	if (count of documents) < 1 then return
	tell front document
		set refSelected to a reference to (rows where selected is true)
		set lstUnSelected to (rows where selected is false)
		
		set selected of refSelected to false
		select lstUnSelected
	end tell
end tell

Last edited by RobTrew; 2010-06-27 at 02:53 AM..