To be honest, I would quickly become annoyed with a skin that yanked the system out from under me, no matter what the time. While using that shutdown command will give you 60 seconds to quickly save what you are working on, there is no way to say "Wait, I'm actually working on something, never mind!"
I would use something like this:
Code: Select all
[Rainmeter]
Update=500
DynamicWindowSize=1
AccurateText=1
OnRefreshAction=[!Move (#SCREENAREAWIDTH#/2-(#SkinW#/2)) (#SCREENAREAHEIGHT#/2-(#SkinH#/2))][!ZPos 2]
[Variables]
SkinW=174
SkinH=130
DelaySeconds=60
Shutdown=[shutdown.exe -s -hybrid -f -t 00]
[MeasureTime]
Measure=Time
Format=%H:%M:%S
IfMatch=03:00:00
IfMatchAction=[!ShowMeterGroup Counter][!EnableMeasure MeasureCounter]
[MeasureCounter]
Measure=Loop
StartValue=#DelaySeconds#
EndValue=1
Increment=-1
Disabled=1
UpdateDivider=2
IfCondition=MeasureCounter = 1
IfTrueAction=#Shutdown#
[MeterBackground]
Meter=Shape
Group=Counter
Hidden=1
Shape=Rectangle 0.5,0.5,169,124,12 | Fill Color 20,20,20,255 | StrokeWidth 1.5 | Stroke Color 150,150,150,255
W=170
H=125
[MeterInformation]
Meter=String
Group=Counter
Hidden=1
W=169
X=(169/2)
Y=7
StringAlign=Center
FontSize=13
FontWeight=400
FontColor=255,255,255,255
SolidColor=0,0,0,1
Padding=5,5,5,5
AntiAlias=1
DynamicVariables=1
InlineSetting=Weight | 700
InlinePattern=#CRLF#(.*)#CRLF#
Text=Shutdown in#CRLF#[MeasureCounter]#CRLF#Seconds
[MeterButton]
Meter=Shape
Group=Counter
Hidden=1
X=45
Y=80
Shape=Rectangle 0.5,0.5,80,30,10 | Fill Color 87,87,87,255
LeftMouseUpAction=[!Refresh]
[MeterCancel]
Meter=String
Group=Counter
Hidden=1
X=51
Y=80
FontSize=13
FontWeight=700
FontColor=255,255,255,255
SolidColor=0,0,0,1
Padding=5,5,5,5
AntiAlias=1
Text=Cancel
1.jpg
This is entirely invisible until it is 03:00:00. Then it will appear in the center of your screen.
It will still wait #DelaySeconds# (60 seconds) amount of time, and if you are not there, it will still shutdown, but if you are there, you can just click on Cancel within that 60 seconds and it is reset until the next day and disappears.
You do not have the required permissions to view the files attached to this post.