Parent Context on Hold

How is it possible to put automatically on hold all the children contexts when switching the parent context to on hold?

Maybe this helps.
You run this script with one context selected in the sidebar.

tell application "OmniFocus"
	set o_win to front document window of front document
	tell content of o_win
		set the_tree to tree 1
		set the_parent_context to value of the_tree
		set allows next action of the_parent_context to false -- PARENT CONTEXT
		set allows next action of every context of the_parent_context to false -- CHILDREN CONTEXTS
	end tell
end tell
1 Like

Thanks but I am looking for something that would work on all devices