I'm new to Rainmeter and tried to figure most of how it works myself. I got some Code snippets from the internet but I don't manage to get my skin working as it should. The aim is to create a skin that changes the desktop wallpaper at a certain time to a night theme and then change it back to day theme in the morning. Additionaly there is another image layer which is in front of the Equalizer. There is also a night and a day version for that image but i cannot figure out how to change the ImageName so that it automatically picks the right file, depending on the time.
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
DynamicVariables=1
[MeasureTime]
Measure=Time
Format=%H%M
[MeasureEqual]
Measure=Calc
IfCondition=(MeasureTime > 0700) && (MeasureTime < 2100)
IfTrueAction=[!SetWallpaper "nms_day.jpg"]
IfCondition2=(MeasureTime > 2100) || (MeasureTime < 0700)
IfTrueAction2=[!SetWallpaper "nms_night.jpg"]
[Image]
Meter=Image
ImageName=nms_night_cut.png
x=0
y=0
w=1920
h=1080
I am looking forward to your answers :)