It is currently November 27th, 2022, 3:03 am

Windows background solid color control

General topics related to Rainmeter.
User avatar
rbriddickk84
Rainmeter Sage
Posts: 250
Joined: February 17th, 2014, 12:39 pm
Location: Hungary

Windows background solid color control

Post by rbriddickk84 »

Greetings!

I was thinking if there is a possibility to control the Windows 10 wallpaper- solid color's color somehow?

Probably there is a slight impact on performance/resources if the default windows's solid color is used instead of a png or jpg. :???:
I don't know if that part is even accessible with any external commands out of Windows.

Thanks for any help in advance!
User avatar
tass_co
Posts: 419
Joined: May 4th, 2020, 3:01 pm
Location: Ankara, TURKEY

Re: Windows background solid color control

Post by tass_co »

rbriddickk84 wrote: July 23rd, 2022, 11:33 am Greetings!

I was thinking if there is a possibility to control the Windows 10 wallpaper- solid color's color somehow?

Probably there is a slight impact on performance/resources if the default windows's solid color is used instead of a png or jpg. :???:
I don't know if that part is even accessible with any external commands out of Windows.

Thanks for any help in advance!
I haven't tried it, but I think the code below will do the trick :thumbup:

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1

[Variables]
Colors=255,255,255

[MeaRunKillWall]
Measure=Plugin
Plugin=RunCommand
Program="reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v WallPaper /t REG_SZ /d " " /f"
State=Hide
FinishAction=[!Delay 1000][!CommandMeasure MeaRunChangeColor "Run"]

[MeaRunChangeColor]
Measure=Plugin
Plugin=RunCommand
Program="reg add "HKEY_CURRENT_USER\Control Panel\Colors" /v Background /t REG_SZ /d "(#Colors#)" /f"
State=Hide
DynamicVariables=1


[MeterBackground]
Meter=Image
SolidColor=1E3A69FF
W=182
H=100
LeftMouseUpAction=[!CommandMeasure "MeasureInput" "ExecuteBatch 1-2"]

[MeterOutput]
Meter=String
X=5
Y=30
W=176
FontSize=15
FontColor=255,255,255,255
AntiAlias=1
DynamicVariables=1
LeftMouseUpAction=[!CommandMeasure "MeasureInput" "ExecuteBatch 1-2"]
Text=Click and Enter Color Numbers     i.e "0,0,0"
Clipstring=2
DynamicVariables=1

[MeasureInput]
Measure=Plugin
Plugin=InputText
X=5
Y=4
W=171
H=20
FontSize=12
FontColor=255,255,255,255
SolidColor=47,47,47,255
AntiAlias=1
FocusDismiss=1
DefaultValue="Change Color!"
Command1=[!SetVariable Colors "$UserInput$"][!CommandMeasure MeaRunKillWall "Run"]
Command2=[!SetOption MeterOutput Text "#*Colors*#"][!UpdateMeter *]
DynamicVariables=1
I don't know where i going from here, but i promise it won't be boring... :great:
User avatar
rbriddickk84
Rainmeter Sage
Posts: 250
Joined: February 17th, 2014, 12:39 pm
Location: Hungary

Re: Windows background solid color control

Post by rbriddickk84 »

Wow, you are a legend to take all those effort! :beer:
I really appreciate your help! Sadly it's not working. I guess as i saw, it would changes registry which probably encountering some conflict of permissions.
:???:
User avatar
tass_co
Posts: 419
Joined: May 4th, 2020, 3:01 pm
Location: Ankara, TURKEY

Re: Windows background solid color control

Post by tass_co »

rbriddickk84 wrote: July 23rd, 2022, 2:15 pm Wow, you are a legend to take all those effort! :beer:
I really appreciate your help! Sadly it's not working. I guess as i saw, it would changes registry which probably encountering some conflict of permissions.
:???:
Yes you are right, it was not working. Would you try now?
The problem was due to cmd line of code.

I had to get help from an extra exe file.
The colors must be specified as hex triplets.(i.e 00FF00)
When you click on the text, InputText will open.
After entering the color of Task/StartMenu, press ENTER.
Enter the Window Border color in the other InputText.

PS: I didn't have much chance to edit the skin, sorry.
ColorChanger_1.0.rmskin
You do not have the required permissions to view the files attached to this post.
I don't know where i going from here, but i promise it won't be boring... :great:
User avatar
rbriddickk84
Rainmeter Sage
Posts: 250
Joined: February 17th, 2014, 12:39 pm
Location: Hungary

Re: Windows background solid color control

Post by rbriddickk84 »

Okay, i just checked out the registry entries, and your second idea worked, the Background key changed, tho the background color in windows isn't changes. :???:
tass_co wrote: July 23rd, 2022, 3:58 pm PS: I didn't have much chance to edit the skin, sorry.
Which skin?

PS.: Running the exe externally it changes the taskbar and start menu colors. But not the background color. :???:

PS #2.: I just analized the first codes what you sent, and now i see how you tried the trick :) it should work tho
Last edited by rbriddickk84 on July 23rd, 2022, 4:45 pm, edited 1 time in total.
User avatar
tass_co
Posts: 419
Joined: May 4th, 2020, 3:01 pm
Location: Ankara, TURKEY

Re: Windows background solid color control

Post by tass_co »

rbriddickk84 wrote: July 23rd, 2022, 4:16 pm Hmm. Despite the fact that sadly still nothing happening, it produces strange things in text terms on the skin itself. :confused:
No colors are changing sadly nowhere. But really, thank you for your great efforts, i know and i start to realize that this is a much bigger challenge then i thought. O.O
You are right. I couldn't.
I made a mistake in the command line.
I cannot send the entered variable on the command line. Maybe someone can fix this. sorry

Normally:
Parameter=""#CURRENTPATH#ColorControl.exe" -accent_color FF00F0 -dwm_color 131000"

My code:
Parameter=""#CURRENTPATH#ColorControl.exe" -accent_color #AccentColor# -dwm_color #DWMColor#"
rbriddickk84 wrote: July 23rd, 2022, 4:16 pm Isn't it changes only the window borders? Honestly i am a bit confused about that exe. :)
Windows-10-color-control.png
I used this application to change colors on the command line or in Registery.
It seems like it doesn't work very well :oops:
You do not have the required permissions to view the files attached to this post.
I don't know where i going from here, but i promise it won't be boring... :great:
User avatar
rbriddickk84
Rainmeter Sage
Posts: 250
Joined: February 17th, 2014, 12:39 pm
Location: Hungary

Re: Windows background solid color control

Post by rbriddickk84 »

Ooof, sorry, i edited my response so many times xD

I just realized that it DOES change the value of the Background reg key, but the color isn't changing in windows weirdly. :???:

So actually your idea sort of worked. :thumbup:
User avatar
tass_co
Posts: 419
Joined: May 4th, 2020, 3:01 pm
Location: Ankara, TURKEY

Re: Windows background solid color control

Post by tass_co »

rbriddickk84 wrote: July 23rd, 2022, 4:47 pm Ooof, sorry, i edited my response so many times xD
Like me :D
rbriddickk84 wrote: July 23rd, 2022, 4:47 pm I just realized that it DOES change the value of the Background reg key, but the color isn't changing in windows weirdly. :???:

So actually your idea sort of worked. :thumbup:
Maybe someone can write other solutions :thumbup:
I don't know where i going from here, but i promise it won't be boring... :great:
User avatar
rbriddickk84
Rainmeter Sage
Posts: 250
Joined: February 17th, 2014, 12:39 pm
Location: Hungary

Re: Windows background solid color control

Post by rbriddickk84 »

tass_co wrote: July 23rd, 2022, 4:58 pm Like me :D



Maybe someone can write other solutions :thumbup:
Yet again, much appreciation for your kind devoted help! :)
Now i know that in my Windows probably will be something strange, since the registry key changes.

I will post here if i find out what's wrong! :thumbup:

Thank you! :cheers: