Show only some levels

Curt Clifton curt.clifton at mac.com
Mon Apr 24 17:06:41 PDT 2006


On Apr 24, 2006, at 7:30 PM, flyingplato wrote:

> There is a 'collapse all' and 'expand all' feature, but is there a =20
> feature such a 'collapse all levels below level 2' for instance?

There isn't a built in function to do this, but here's a script you =20
can use:

-- begin script
property expansionDepth : 3
tell front document of application "OmniOutliner Professional"
	set expanded of every row whose level < expansionDepth to true
	set expanded of every row whose level =B3 expansionDepth to =
false
end tell
-- end script

You can change the number in the first line to whatever positive =20
value you like.  You might want to save several versions of the =20
script with different values for expansionDepth.

Cheers,

Curt




More information about the OmniOutliner-Users mailing list