Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1056

Help: Rainmeter Skins • How do I edit MappleWood code in order for Uptime to reflect time since login?

$
0
0
https://www.deviantart.com/mnhshare/art/MappleWood-1-1-2-359834476

The time skin is supposed to reflect how long I've been on the computer but sometimes doesn't reset after I restart Windows 10 so I am trying to modify the code to fix this issue. See https://docs.rainmeter.net/manual/measures/uptime/. But I'm a newbie and can't get it to work.

Original:
Troubleshoot1.png

Code:

[Rainmeter]Author=Tyler J. Colby-WolterUpdate=1000BackgroundMode=1[Metadata]Name=Flat | UptimeConfig=Flat | UptimeDescription=This skin shows your uptimeVersion=1.0Tags=UptimeLicense=Creative Commons Attribution-Non-Commercial-Share Alike 3.0[MeasureUptime]Measure=UptimeSubstitute="d":" days,",":":" hours, "[MeterUptime]Meter=StringMeasureName=MeasureUptimeX=0Y=0FontColor=255,255,255,230FontFace=CalibriFontSize=15PostFix=" minutes"AntiAlias=1

Modified Code:

Code:

[Rainmeter]Author=Tyler J. Colby-WolterUpdate=1000BackgroundMode=1[Metadata]Name=Flat | UptimeConfig=Flat | UptimeDescription=This skin shows your uptimeVersion=1.0Tags=UptimeLicense=Creative Commons Attribution-Non-Commercial-Share Alike 3.0[MeasureCurrentTime]Measure=Time[MeasureUserLoginTime]Measure=PluginPlugin=SysInfoSysInfoType=USER_LOGONTIMEUpdateDivider=-1[MeasureFormatSeconds]Measure=UpTimeSecondsValue=([MeasureCurrentTime:] - [MeasureUserLoginTime:])Format=Format="%4!i! days, %3!i! hours, %2!i! minutes %1!i! seconds"DynamicVariables=1[MeterUptime]Meter=StringMeasureName=UpTimeFontSize=12FontColor=255,255,255,255SolidColor=0,0,0,0Padding=5,5,5,5AntiAlias=1Text="minutes"
Result:

No time is reflected and it just says minutes.
Troubleshoot.png

Statistics: Posted by litnomad — Yesterday, 10:51 pm



Viewing all articles
Browse latest Browse all 1056

Trending Articles