The script here can be adapted to apply different tab label rules for special folders:
There is also this much more advanced script, but if it doesn't already do what you want then it may be easier to modify the simple one above:
The script here can be adapted to apply different tab label rules for special folders:
There is also this much more advanced script, but if it doesn't already do what you want then it may be easier to modify the simple one above: