Change label

Hi
i have a timeline with 3 comps each with different label color
i want to create automation that will change the label of the comps in the project panel to the same color labels for each comp as in the main active comp

Hi @Dot,

try this automation -
update labels.zip (1.2 KB)

I added label for the lines.

Thank you
So simple and so effective

Hi im trying to send comps to render que by color but it only works on one if statement when trying on the second color it loops all over the render and change the first color also
send to render queue lables.json (21.9 KB)

@Dot ,

The issue was that when you loop over all the render queue items, you apply the template to all of them. Remember that the loop goes through all of them and you already added both compositions to the render queue.

Instead, you should add an IF statement to select only the render queue items whose source composition label is a specific color.

Here is the fixed automation, please compare both of them to see how it solve the issue -
send to render queue v2.zip (2.1 KB)

Hi i understand everything except this line
what does it do?

@Dot This line retrieve the comp item that connected to this render queue item,
if you want information about the render queue item, like the label, you need to get the project item that this render queue is referencing.

keep in mind that you can read a tooltip for each property if you hold you mouse in the dropdown menu,
image