It is currently April 26th, 2024, 9:13 pm

Change the background image

Get help with creating, editing & fixing problems with skins
Fatichti
Posts: 10
Joined: December 6th, 2020, 2:56 pm

Change the background image

Post by Fatichti »

Hello,

I am under Windows10.
I would like to change the wallpaper of my PC (as soon as the skin is loaded)

I have a little trouble with the backroundImage and the meter image.

Can you help me? :D
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Change the background image

Post by CyberTheWorm »

Can you post the code you have right now for your skin?
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
Fatichti
Posts: 10
Joined: December 6th, 2020, 2:56 pm

Re: Change the background image

Post by Fatichti »

Hi,

[MeterBackground]
Meter=Image
ImageName=(here the path : C:\... and the name : image.jpg)
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5407
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Change the background image

Post by eclectic-tech »

Fatichti wrote: April 10th, 2021, 1:04 pm Hi,

[MeterBackground]
Meter=Image
ImageName=(here the path : C:\... and the name : image.jpg)
You may not need an image meter, just use !SetWallpaper bang when the skin load to set the wallpaper.
NOTE: You would need at least a "Dummy" meter so this example skin will load.

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
OnRefreshAction=[!SetWallpaper "C:\... and the name : image.jpg" Fill]

[Dummy]
Meter=String
If you are using this with a skin that has other meters, you do not need to add the [Dummy] section, just add the OnRefreshAction bang to your [Rainmeter] section.
Fatichti
Posts: 10
Joined: December 6th, 2020, 2:56 pm

Re: Change the background image

Post by Fatichti »

Thx so much !!!
:thumbup: