This was the first tool I ever built for Nuke. I changed from one studio to a different one and I was missing a tool that allowed you to create fast backdrops with just a hotkey (I have it set with shift+b).
The code will recognize the area of your selection and use a font size depending on that. It will alternate colors depending on its Z Order, and it will also allow you to chose a specific preset if you prefer.
The different options are really easy:
Label: This is the text that will appear on your backdrop. If you leave it empty it will show nothing
Color: This is the color the backdrop will be:
Auto: It will chose between Light and Dark automatically depending on the Z Order of the backdrop
Light: Light grey color
Dark: Dark grey color
Extra: Darker than dark grey just in case you need it
New: This is an extra preset I use to know what new things have been done to the script. Imagine you have someone else's shot for a day or two, I let them know about the new things I added using this backdrop. It will be red and the label will automatically be NEW
Expand Nested Backdrops Code