Is it possible to get the value as a percentage, for the colour theme in the preference?
I need this as some of my script windows contain icons that i need to swich if the interface is light/dark.
Thanks in advance.
app.generalPreferences.uiBrightnessPreference = 100
I do try to look before posting, and i saw the preferences object, and didn't find it there. Didn't know it was the generalPreferences.
Oh, if anyone else is interested, it is a value from 0 - 1, so 50% is 0.5.
Thanks again Peter.