This is a simple 'service' type skin that simply handles the task based only on user idle and also will run something after the user returns. This is already preconfigured in my use to load a batch file after 1 hour and re-run it again after return such as make f@h backups and flush disk cache. It can be easily edited to ones needs otherwise.
Code: Select all
[RainMeter]
AlwaysOnTop=-2
Update=1000
BackgroundMode=1
[DummyMeter] ;required to load
Meter=String
Hidden=1
[MOSIdle]
Measure=Plugin
Plugin=SysInfo
SysInfoType=IDLE_TIME
[RUN_IdleTasks]
Measure=Calc
Formula=MOSIdle
ifEqualValue=3600
ifEqualAction=!Execute ["hidec" postrun.bat /Idle][!EnableMeasure "RUN_WasIdleTasks"]
[RUN_WasIdleTasks]
Measure=Calc
Formula=MOSIdle
ifEqualValue=0
ifEqualAction=!Execute ["hidec" postrun.bat /Idle][!DisableMeasure "RUN_WasIdleTasks"]
Disabled=1
Code: Select all
[RUN_IdleTasksInterval]
Measure=Calc
Formula=(MOSIdle+1)%3600
ifEqualValue=0
ifEqualAction=!Execute ["hidec" postrun.bat /Idle][!EnableMeasure "RUN_WasIdleTasks"]