It is currently March 28th, 2024, 11:31 pm

Making system displays (CPU, RAM, etc) run more smoothly by updating in increments of 1%?

Get help with creating, editing & fixing problems with skins
shinysw
Posts: 1
Joined: June 9th, 2018, 9:19 am

Making system displays (CPU, RAM, etc) run more smoothly by updating in increments of 1%?

Post by shinysw »

Hello, apologies if this has been posted before (nothing came up when I tried the search), but I'm rather new to Rainmeter and I've trying to create some skins.

How would one go about making it so that something such as the RAM display updates more smoothly by 1%? For instance, the counter bounces from say 20% to like 40%, and I want to make it so that the counter updates more smoothly by visually displaying the numbers changing from 20 to 40% in increments of 1%. (20%, 21%, 22%, 23%, etc). My first thought was to change Update to something faster like 50ms, but it still made the counter bounce everywhere. If needed, I can upload what I have for my code so far if it makes anything easier.
Any help appreciated :)

Edit: Here's my code anyways(I do use a downloaded font+a background image, if really needed I guess I could upload the image too):

Code: Select all

[Rainmeter]
Author=
AppVersion=1.0
Update=1000

[Variables]
BarColor=255, 255, 255
BarBack=0, 0, 0, 255
FontName=Gotham Rounded Light
FontName2=Gotham Rounded Light
FontColor=255, 255, 255, 240
FontHeightLabel=14
FontHeightPercent=35
FontHeightSymbol=30
AntiAlias=1

[MeasureRAM]
Measure=PhysicalMemory
IfCondition=MeasureRAM > 50
IfTrueAction=[!SetOption MeterPercent FontColor "18, 128, 246, 255 "][!SetOption MeterBar BarColor "18, 128, 246, 255 "]
IfFalseAction=[!SetOption MeterPercent FontColor "47, 144, 248, 255"][!SetOption MeterBar BarColor "47, 144, 248, 255"]

[MeterBackground]
Meter=Image
ImageName=#@#Images\bg2.png
X=10
Y=10

[MeterPercent]
Meter=STRING
MeasureName=MeasureRAM
X=140
Y=40
StringAlign=Right
FontColor=#FontColor#
FontSize=#FontHeightPercent#
FontFace=#FontName2#
;MouseOverAction=[!SetOption MeterPercent FontEffectColor 0,0,0,255][!SetOption MeterPercent StringEffect Shadow]
;MouseLeaveAction=[!SetOption MeterPercent FontEffectColor 0,0,0,0][!SetOption MeterPercent StringEffect None]

;StringEffect=Shadow
;FontEffectColor=0,0,0,255
Text="%1%"
Percentual=1
AntiAlias=1
AutoScale=1

[MeterRAMLabel]
Meter=STRING
Text="RAM"
X=210
Y=47
FontColor=#FontColor#
FontSize=#FontHeightLabel#
FontFace=#FontName#
AntiAlias=1

[BarLine]
Meter=BAR
X=30
Y=35
W=250
H=3
SolidColor=#BarBack#

[MeterBar]
MeasureName=MeasureRAM
Meter=BAR
X=30
Y=35
W=250
H=3
BarOrientation=HORIZONTAL
BarColor=#BarColor#