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

Help: Rainmeter Skins • Re: System up time with other time not working in the same ini

$
0
0
I can not get this skin ini to give me an accurate system up time. I think maybe using multiple measure=Time things is somehow overwriting the MeasureUpTimeString method. If I separate it out it works. But I would really like to keep it all in one ini. Please help.
It works for me, gives the same value as the Task Manager (added the missing variables, since you didn't post the @included ...\@Resources\Variables.inc file):

Code:

[Rainmeter]Update=1000DynamicWindowSize=1AccurateText=1BackgroundMode=2SolidColor=00000001MouseScrollUpAction=[!SetVariable size "(#size#+0.05)"][!WriteKeyValue Variables size "(#size#+0.05)"][!Refresh] MouseScrollDownAction=[!SetVariable size "(#size#-0.05 < 0.2 ? 0.2 : #size#-0.05)"][!WriteKeyValue Variables size "(#size#-0.05 < 0.2 ? 0.2 : #size#-0.05)"][!Refresh][Variables]@Include=#@#Variables.incsize=1.25; In case Variables.inc above is missingNoColor=0,0,0,255Grey1Color=128,128,128,255FontEffectColor=0,0,0,255HeadTopColor=255,0,0,255HeadBottomColor=0,255,0,255HeadingColor=0,0,255,255; End of Variables.inc alternative; Measures;=================================================[MeasureTime]Measure=Time[MeasureUserLoginTime]Measure=PluginPlugin=SysInfoSysInfoType=USER_LOGONTIMEUpdateDivider=-1[MeasureUpTime]Measure=UpTimeFormat="%4!02i! : %3!02i! : %2!02i! : %1!02i!";DynamicVariables=1[MeasureUpTimeString]Measure=UpTimeTimeStamp=([MeasureTime:] - [MeasureUserLoginTime:]);Format=%A, %B %#d, %Y at %I:%M:%S %pFormat="%4!02i! : %3!02i! : %2!02i! : %1!02i!"DynamicVariables=1[Refresh]Measure=CalcFormula=Refresh+1 % 2IfAboveValue=1IfAboveAction=!RefreshDynamicVariables=1[MeasureSecond]Measure=TimeFormat=%SDynamicVariables=1[MeasureMinute]Measure=TimeFormat=%MDynamicVariables=1[MeasureHour]Measure=TimeFormat=%HDynamicVariables=1[MeasureDay]Measure=TimeFormat=%dDynamicVariables=1[MeasureWeekday]Measure=TimeFormat=%ADynamicVariables=1[MeasureMonth]Measure=TimeFormat=%BDynamicVariables=1[MeasureYear]Measure=TimeFormat=%YDynamicVariables=1[MeasureDayTime]Measure=TimeFormat=%H:%M:%SDynamicVariables=1[MeasureSecondBar]Measure=CalcFormula=MeasureSecond / 60DynamicVariables=1[MeasureMinuteBar]Measure=CalcFormula=MeasureMinute / 60DynamicVariables=1[MeasureHourBar]Measure=CalcFormula=MeasureHour / 24DynamicVariables=1[MeasureAMPM]Measure=TimeFormat=%pDynamicVariables=1; Meters;=================================================[MeterBackground]Meter=Image;ImageName=#@#Images\3.pngX=(#size#*0)Y=(#size#*0)W=(#size#*401)H=(#size#*401)SolidColor=#NoColor#AntiAlias=1DynamicWindowSize=1DynamicVariables=1[MeterUpTime]Meter=StringMeasureName=MeasureUpTimeStringX=(#size#*200)Y=(#size#*295)FontFace=Ink FreeFontColor=#Grey1Color#FontSize=(#size#*10)FontEffectColor=#FontEffectColor#StringAlign=CenterCenterText=%1AntiAlias=1DynamicWindowSize=1DynamicVariables=1[MeterWeekday]Meter=StringMeasureName=MeasureWeekdayX=(#size#*200)Y=(#size#*130)FontFace=Ink FreeFontColor=#HeadTopColor#FontSize=(#size#*28)StringAlign=CenterCenterAntiAlias=1DynamicWindowSize=1DynamicVariables=1[MeterMonthYear]Meter=StringMeasureName=MeasureMonthMeasureName2=MeasureYearMeasureName3=MeasureDayX=(#size#*200)Y=(#size#*265)FontFace=Ink FreeFontColor=#HeadBottomColor#FontSize=(#size#*14)StringAlign=CenterCenterText=%3, %1, %2AntiAlias=1DynamicWindowSize=1DynamicVariables=1[MeterTime]Meter=StringMeterStyle=TextStyleMeasureName=MeasureDayTimeX=(#size#*200)Y=(#size#*200)FontFace=Ink FreeFontSize=(#size#*48)FontColor=#HeadingColor#StringAlign=CenterCenterAntiAlias=1DynamicWindowSize=1DynamicVariables=1[Variables]size=((((((((((((((#size#-0.05 < 0.2 ? 0.2 : #size#-0.05)-0.05 < 0.2 ? 0.2 : (#size#-0.05 < 0.2 ? 0.2 : #size#-0.05)-0.05)-0.05 < 0.2 ? 0.2 : ((#size#-0.05 < 0.2 ? 0.2 : #size#-0.05)-0.05 < 0.2 ? 0.2 : (#size#-0.05 < 0.2 ? 0.2 : #size#-0.05)-0.05)-0.05)+0.05)+0.05)+0.05)+0.05)+0.05)+0.05)+0.05)+0.05)+0.05)+0.05)+0.05)
Uptime.jpg

Statistics: Posted by Yincognito — Today, 7:12 pm



Viewing all articles
Browse latest Browse all 1044

Trending Articles