It is currently April 28th, 2024, 2:28 am
Set wallpaper on layout.
-
- Posts: 9
- Joined: March 12th, 2024, 12:50 am
Set wallpaper on layout.
I am trying to make a layout for my rainmeter skin. I was wondering if I could set a wallpaper on desktop when the layout is applied.
-
- Rainmeter Sage
- Posts: 16182
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Set wallpaper on layout.
Yep, you can, but you have to use a skin included into the layout, which when activated by the layout, applies the wallpaper. Depending on your needs you can even create a skin which has nothing visible, but sets up the wallpaper.
For instance, create a new skin, with the following code:
Code: Select all
[Rainmeter]
Update=-1
OnRefreshAction=[!SetWallpaper "The-Wallpaper-You-Want-To-Apply"][!Delay "1000"][!DeactivateConfig]
[Meter]
Meter=String
Hidden=1
Make sure to include this skin into the layout you want to set the wallpaper.
-
- Posts: 9
- Joined: March 12th, 2024, 12:50 am
Re: Set wallpaper on layout.
So, I just copy the code you gave me, create a .ini skin with the code, modify the code to enter the appropriate path of wallpaper, then add the wallpaper loader skin on my layout. Is that all?balala wrote: ↑March 24th, 2024, 2:57 pm Yep, you can, but you have to use a skin included into the layout, which when activated by the layout, applies the wallpaper. Depending on your needs you can even create a skin which has nothing visible, but sets up the wallpaper.
For instance, create a new skin, with the following code:The only purpose of this skin is to apply the wallpaper when is activated. One second after is activated and applies the wallpaper, it deactivates itself. Meanwhile you can see nothing on your screen. Obviously replace the The-Wallpaper-You-Want-To-Apply parameter int he above !SetWallpaper bang by the appropriate path and file name of the image you want to apply as wallpaper.Code: Select all
[Rainmeter] Update=-1 OnRefreshAction=[!SetWallpaper "The-Wallpaper-You-Want-To-Apply"][!Delay "1000"][!DeactivateConfig] [Meter] Meter=String Hidden=1
Make sure to include this skin into the layout you want to set the wallpaper.
-
- Rainmeter Sage
- Posts: 16182
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
-
- Posts: 9
- Joined: March 12th, 2024, 12:50 am
-
- Rainmeter Sage
- Posts: 16182
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Set wallpaper on layout.
Glad to help. Feel free to come back whatever question arises.
-
- Rainmeter Sage
- Posts: 5407
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Set wallpaper on layout.
A simpler way is to setup your layout with the desired wallpaper, then
check the box to "Include current wallpaper" when you save the layout. When the layout is loaded, the wallpaper will be automatically set.
check the box to "Include current wallpaper" when you save the layout. When the layout is loaded, the wallpaper will be automatically set.
You do not have the required permissions to view the files attached to this post.
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::