Hello to All
I am a retired software developer from the 1990s and recently a transport and courier professional. I have always maintained my love of computers and software but lost a lot of it after a stroke. I'm currently building custom-built gaming computers for a client's specs and favorite game or character.
I am new to Rainmeter and the skins, but I want to learn how to write my own skins. I'm currently working on modifying skin, and I want to display the used percentages of two drives (C and D) at the same time. I've found many samples that show the percentage of drive. When I try to duplicate that piece of code to add my second drive, it won't work. I will attach the code that works for one drive. Can anyone help me on this?
I am a retired software developer from the 1990s and recently a transport and courier professional. I have always maintained my love of computers and software but lost a lot of it after a stroke. I'm currently building custom-built gaming computers for a client's specs and favorite game or character.
I am new to Rainmeter and the skins, but I want to learn how to write my own skins. I'm currently working on modifying skin, and I want to display the used percentages of two drives (C and D) at the same time. I've found many samples that show the percentage of drive. When I try to duplicate that piece of code to add my second drive, it won't work. I will attach the code that works for one drive. Can anyone help me on this?
Code:
;-----Drive 1 Percentage-----[MeasureDisk1Labe1]Measure=FreeDiskSpaceDrive=C:Label=1UpdateDivider=5[MeasureTotalDisk1Space]Measure=FreeDiskSpaceDrive=C:Total=1UpdateDivider=5[MeasureUsedDisk1Space]Measure=FreeDiskSpaceDrive=C:InvertMeasure=1UpdateDivider=5[MeasureUsedDisk1Percentual]Measure=CalcFormula=Round(([MeasureUsedDisk1Space:]/[MeasureTotalDisk1Space:])*100)MinValue=0MaxValue=100DynamicVariables=1[MeterDrive1Usage]Meter=StringX=0Y=0FontSize=50FontColor=255,255,255,255SolidColor=0,0,0,255AntiAlias=1Text="C: [MeasureUsedDisk1Percentual:]%"DynamicVariables=1
Statistics: Posted by DaveyRocket — November 4th, 2024, 5:11 pm — Replies 1 — Views 39