Tab Color Based on Folder Content

You can easily repurpose the script from a few days ago. Let the main routine loop through the files, count the extensions (leave the groups for later), decide on a color, and set it via Go TABCOLOR (Demo).