Why do tasks not inherit color from their Group?

Hello all,

Here’s some applescript to change the style of all child tasks to the (named) style of the parent task on the main level:

tell front document of application “OmniPlan” -- Do this for the current project
repeat with i from 1 to count tasks -- Do this for all tasks one-by-one
set thisTask to (item i of tasks) -- Create a variable for the currently selected task
if outline depth of thisTask is not 1 then set style of thisTask to style of parent task of thisTask -- In case of a child task change the style to main parent task's style
end repeat
end tell

You can execute this in the Scripteditor or paste it in the Shortcuts app to for ease of use.

See also the screenshot …

Hope you like it.

Theo

www.theodekreijger.nl

1 Like