I am trying to find a way to change a color across multiple skins.
i.e. you click a color swatch and the active color changes in all your skins.
Ive tried to use the setvariable bang to change the color variable in a inc file and then refresh the skin, but it doesn't seem to do anything with inc files.
The only way I've seen it done in the past is through a custom config.exe, which is beyond me.
Has anyone seen this before, or does anyone know how to do it?
It is currently April 23rd, 2024, 8:37 pm
Button To Change Color across multiple skins
-
- Posts: 47
- Joined: July 16th, 2010, 4:24 am
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
-
- Posts: 47
- Joined: July 16th, 2010, 4:24 am
Re: Button To Change Color across multiple skins
Yesh Ive seen this before, but it doesnt really do what I am trying to.
-
- Posts: 6
- Joined: February 19th, 2014, 9:12 pm
Re: Button To Change Color across multiple skins
Hi !
And sorry to bump this old thread.
But I wonder if there is an answer (because the link above is not available).
Thanks.
And sorry to bump this old thread.
But I wonder if there is an answer (because the link above is not available).
Thanks.
-
- Posts: 155
- Joined: July 29th, 2014, 7:02 pm
Re: Button To Change Color across multiple skins
What you will need is a variables.inc which contains the colour you want to change.Pyroxyde wrote:Hi !
And sorry to bump this old thread.
But I wonder if there is an answer (because the link above is not available).
Thanks.
Now you can do two things, either:
- Change the colour variable in the .inc file and then manually refresh every skin.
- Make a meter that has a !bang like this:
[Insert Joke Here]
-
- Posts: 6
- Joined: February 19th, 2014, 9:12 pm
Re: Button To Change Color across multiple skins
Wow, what a fast answer, thanks !
This looks good but I also would like to cycle between various colours. I'm sorry, I have forgotten to talk about that in the previous post.
This is a bit more complicated now.
This looks good but I also would like to cycle between various colours. I'm sorry, I have forgotten to talk about that in the previous post.
This is a bit more complicated now.
-
- Rainmeter Sage
- Posts: 16164
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Button To Change Color across multiple skins
What color would you like to cycle between?
-
- Posts: 155
- Joined: July 29th, 2014, 7:02 pm
Re: Button To Change Color across multiple skins
I am not entirely sure what you want, but I think what you want is for the colours to slowly change as time goes by.
This can be done using the skin Here
This can be done using the skin Here
[Insert Joke Here]
-
- Posts: 6
- Joined: February 19th, 2014, 9:12 pm
Re: Button To Change Color across multiple skins
Hum, no again. Sorry.
I'll try to give more details. Si, what I want is :
- A button which change the color of all skins when clicking on it.
- Each time we click on it, color change trough a list of predefined value, for example
- Default color is 0,255,0 and the button displays "Irish Clover",
- Then, after clicking on it, it switch all the skins to the next predefined color, let says 255,0,0. The button now is displaying "Hellish Fire".
- Again clicking on it, skins change to 35,45,255 and button says "Stange Blue". Another click and the color switch back to the default "Irish Clover" color.
I hope this is possible by modifying the code JosephB2000 wrote. But I can't see how to do it.
Thanks.
I'll try to give more details. Si, what I want is :
- A button which change the color of all skins when clicking on it.
- Each time we click on it, color change trough a list of predefined value, for example
- Default color is 0,255,0 and the button displays "Irish Clover",
- Then, after clicking on it, it switch all the skins to the next predefined color, let says 255,0,0. The button now is displaying "Hellish Fire".
- Again clicking on it, skins change to 35,45,255 and button says "Stange Blue". Another click and the color switch back to the default "Irish Clover" color.
I hope this is possible by modifying the code JosephB2000 wrote. But I can't see how to do it.
Thanks.
-
- Posts: 155
- Joined: July 29th, 2014, 7:02 pm
Re: Button To Change Color across multiple skins
That narrows down the solution alot more. I now understand what you want!
What you want is maybe something like this:
The pattern is not hard to understand, so you will be able to do this with hundreds of buttons.
I hope this helped!
What you want is maybe something like this:
I hope this helped!
[Insert Joke Here]