how to set patcher colors
I want to set the patcher colors to "dynamic" color automatic. How to do this? I look at "themecolor" and "thispatcher" without sucsess.
It can be confusing at the beginning, but this is how it works. Some attributes with multiple words can be addressed by removing spaces and using lowercase. But you were right about how tell which dynamic color you want to use (full name with quotes if more than one word).
But as far as I know there is no general rule. For example, "Object Background Gradient" is adressed with "bgfillcolor", and "Object Backgorund Color", well... just spent 30min but could'nt figure it out.
Well, I found how to address color attributes by using js and printing the content of this.patcher.getattrnames().
Here are the color attributes you can address by sending a message to [thispatcher], followed by how you name it.
Comment Background Color: clearcolor
Object Accent Color: accentcolor
Locked Patcher Background Color: locked_bgcolor (or bgcolor... )
Object Background Gradient: bgfillcolor
Object Color: color
Unlocked Patcher Backgorund Color: editing_bgcolor
Object Element Color: elementcolor
Patchline Color: patchlinecolor
Object Selection Color: selectioncolor
Background Stripe Color: stripecolor
Comment Text Color: textcolor
Object Text Color: textcolor_inverse
Object Background Color: ????
I don't know if it's a bug or a feature, but I assume it's more like a bug: there is two ways to address the Locked Patcher Background Color, but none to address the Object Background Color, and on this documentation page about patcher formating, we can read that the Object Background Color is refered to as "bgcolor", which is clearly not the case when sending a message to [thispatcher].
EDIT: ticket submitted
that work´s, Thanx a lot