Hide/Show column using Applescript or Automation

Is there a method of hiding or showing OmniOutliner columns using Omni Automation or Applescript?

Yes, that is possible.

From Omni-Automation API:

Editor : Tree

Instance Functions

function setVisibilityOfColumn(column: Column, visible: Boolean)

Sets the visibility of the specified Column within the Editor.

1 Like

And, in applescript…

tell application "OmniOutliner"
	tell front document
		
		set visible of column 3 to false -- or true
		
	end tell
end tell
1 Like