I am trying to write a script to set Interface colours for individual scenes. When I switch scenes in the Info bar drop down menu I want to change the Info Bar background colour. This gives better feedback for scene swapping/tracking.
So far I've got
bpy.context.user_preferences.themes.info.space.header = (1,0,0)
I guess I need to create an open list of scenes that I can append later.
Then allocate the spectrum of colours to it?
Not sure I can create a UI to allocate colours to scenes, so I'll have to bump the values in increments instead.
But first I'm stuck on calling the colour change (I considered iterating a bunch of themes and switching them as needed). At the BA forum it was suggested that the scene change is a frame change event but I'm not sure how to separate that from any other frame changes...
Hopefully if I can set up colours for the info bar I could tie them to node scene inputs.