New to Rainmeter for some days now.
I've been updating by myself a Skin already made.
It's a button that toggle all the others skins on the desktop. This part works fine.
I want this button to also set a wallpaper (wallpaper - active) when I click it and to set back the first wallpaper (wallpaper - inactive) when I click again.
So far I've managed the setting of new wallpaper (active) but can't find a way to toggle the setting of first one (inactive) back.
Here is the code so far :
Code: Select all
[Rainmeter]
Author=Media Maggot | Daelnz | Mino
[Metadata]
Name=Shield Button
Information=Clicking on the Shield logo opens the desktop features + set wallpaper
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=1.1.1
[Variables]
@include=#SKINSPATH#\SHIELD Agent Module\Config.inc
[MeterButton]
Meter=BUTTON
ButtonImage=Shield Button.png
ButtonCommand=[!ToggleFadeGroup "SHIELD Agent Module"]
LeftMouseUpAction=[!SetWallpaper "#SKINSPATH#\SHIELD Agent Module\Wallpaper - active.png" Fill]
Antialias=1
Thanks in advance for your help