It is currently December 11th, 2018, 2:32 pm

Roundline HDD Meter V4

Post your work-in-progress and completed skins to share and discuss.
Craft
Posts: 21
Joined: August 3rd, 2017, 6:00 pm

Roundline HDD Meter V4

Craft » November 13th, 2017, 7:37 pm

Hi,

Animation Demo: https://youtu.be/fORHYiGzwfM
Screen:
Capture.PNG
V3 In Message Below
You do not have the required permissions to view the files attached to this post.
Last edited by Craft on January 6th, 2018, 12:17 pm, edited 2 times in total.
Craft
Posts: 21
Joined: August 3rd, 2017, 6:00 pm

Re: Roundline HDD Meter

Craft » November 19th, 2017, 7:09 pm

A new version.
[Rainmeter]
Update=25
AccurateText=1
DynamicWindowSize=1

[Variables]
UpdateAverageSize=500
FontSize=12
ScaleFactor=360
LineSize=50
BoxSize=(#LineSize#*4)

LogicalDriveC=C:
LogicalDriveD=D:
LogicalDriveE=E:
LogicalDriveF=F:
LogicalDriveG=G:

LogicalDriveX=X:
LogicalDriveY=Y:
LogicalDriveZ=Z:

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[MeasureTotalDiskSpaceLogicalDriveC]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveC#

[MeasureTotalDiskSpaceLogicalDriveD]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveD#

[MeasureTotalDiskSpaceLogicalDriveE]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveE#

[MeasureTotalDiskSpaceLogicalDriveF]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveF#

[MeasureTotalDiskSpaceLogicalDriveG]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveG#

[MeasureTotalDiskSpaceLogicalDriveX]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveX#

[MeasureTotalDiskSpaceLogicalDriveY]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveY#

[MeasureTotalDiskSpaceLogicalDriveZ]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveZ#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[MeasureFreeDiskSpaceLogicalDriveC]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveC#

[MeasureFreeDiskSpaceLogicalDriveD]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveD#

[MeasureFreeDiskSpaceLogicalDriveE]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveE#

[MeasureFreeDiskSpaceLogicalDriveF]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveF#

[MeasureFreeDiskSpaceLogicalDriveG]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveG#

[MeasureFreeDiskSpaceLogicalDriveX]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveX#

[MeasureFreeDiskSpaceLogicalDriveY]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveY#

[MeasureFreeDiskSpaceLogicalDriveZ]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveZ#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[MeasureTotalScaleLogicalDriveSize]
Measure=Calc
Formula=(MeasureFreeDiskSpaceLogicalDriveC+MeasureFreeDiskSpaceLogicalDriveD+MeasureFreeDiskSpaceLogicalDriveE+MeasureFreeDiskSpaceLogicalDriveF+MeasureFreeDiskSpaceLogicalDriveG+MeasureFreeDiskSpaceLogicalDriveX+MeasureFreeDiskSpaceLogicalDriveY+MeasureFreeDiskSpaceLogicalDriveZ)/#ScaleFactor#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[MeasureScaleSizeLogicalDriveC]
Measure=Calc
Formula=(MeasureFreeDiskSpaceLogicalDriveC/MeasureTotalScaleLogicalDriveSize)

[MeasureScaleSizeLogicalDriveD]
Measure=Calc
Formula=(MeasureFreeDiskSpaceLogicalDriveD/MeasureTotalScaleLogicalDriveSize)

[MeasureScaleSizeLogicalDriveE]
Measure=Calc
Formula=(MeasureFreeDiskSpaceLogicalDriveE/MeasureTotalScaleLogicalDriveSize)

[MeasureScaleSizeLogicalDriveF]
Measure=Calc
Formula=(MeasureFreeDiskSpaceLogicalDriveF/MeasureTotalScaleLogicalDriveSize)

[MeasureScaleSizeLogicalDriveG]
Measure=Calc
Formula=(MeasureFreeDiskSpaceLogicalDriveG/MeasureTotalScaleLogicalDriveSize)

[MeasureScaleSizeLogicalDriveX]
Measure=Calc
Formula=(MeasureFreeDiskSpaceLogicalDriveX/MeasureTotalScaleLogicalDriveSize)

[MeasureScaleSizeLogicalDriveY]
Measure=Calc
Formula=(MeasureFreeDiskSpaceLogicalDriveY/MeasureTotalScaleLogicalDriveSize)

[MeasureScaleSizeLogicalDriveZ]
Measure=Calc
Formula=(MeasureFreeDiskSpaceLogicalDriveZ/MeasureTotalScaleLogicalDriveSize)

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[MeasureFreePercentLogicalDriveC]
Measure=Calc
Formula=MeasureFreeDiskSpaceLogicalDriveC/((MeasureTotalDiskSpaceLogicalDriveC+1)/100)

[MeasureFreePercentLogicalDriveD]
Measure=Calc
Formula=MeasureFreeDiskSpaceLogicalDriveD/((MeasureTotalDiskSpaceLogicalDriveD+1)/100)

[MeasureFreePercentLogicalDriveE]
Measure=Calc
Formula=MeasureFreeDiskSpaceLogicalDriveE/((MeasureTotalDiskSpaceLogicalDriveE+1)/100)

[MeasureFreePercentLogicalDriveF]
Measure=Calc
Formula=MeasureFreeDiskSpaceLogicalDriveF/((MeasureTotalDiskSpaceLogicalDriveF+1)/100)

[MeasureFreePercentLogicalDriveG]
Measure=Calc
Formula=MeasureFreeDiskSpaceLogicalDriveG/((MeasureTotalDiskSpaceLogicalDriveG+1)/100)

[MeasureFreePercentLogicalDriveX]
Measure=Calc
Formula=MeasureFreeDiskSpaceLogicalDriveX/((MeasureTotalDiskSpaceLogicalDriveX+1)/100)

[MeasureFreePercentLogicalDriveY]
Measure=Calc
Formula=MeasureFreeDiskSpaceLogicalDriveY/((MeasureTotalDiskSpaceLogicalDriveY+1)/100)

[MeasureFreePercentLogicalDriveZ]
Measure=Calc
Formula=MeasureFreeDiskSpaceLogicalDriveZ/((MeasureTotalDiskSpaceLogicalDriveZ+1)/100)

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[MeasureFreeGBLogicalDriveC]
Measure=Calc
Formula=Round(MeasureFreeDiskSpaceLogicalDriveC/1000/1000/1000,0)

[MeasureFreeGBLogicalDriveD]
Measure=Calc
Formula=Round(MeasureFreeDiskSpaceLogicalDriveD/1000/1000/1000,0)

[MeasureFreeGBLogicalDriveE]
Measure=Calc
Formula=Round(MeasureFreeDiskSpaceLogicalDriveE/1000/1000/1000,0)

[MeasureFreeGBLogicalDriveF]
Measure=Calc
Formula=Round(MeasureFreeDiskSpaceLogicalDriveF/1000/1000/1000,0)

[MeasureFreeGBLogicalDriveG]
Measure=Calc
Formula=Round(MeasureFreeDiskSpaceLogicalDriveG/1000/1000/1000,0)

[MeasureFreeGBLogicalDriveX]
Measure=Calc
Formula=Round(MeasureFreeDiskSpaceLogicalDriveX/1000/1000/1000,0)

[MeasureFreeGBLogicalDriveY]
Measure=Calc
Formula=Round(MeasureFreeDiskSpaceLogicalDriveY/1000/1000/1000,0)

[MeasureFreeGBLogicalDriveZ]
Measure=Calc
Formula=Round(MeasureFreeDiskSpaceLogicalDriveZ/1000/1000/1000,0)

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[MeasureFreeGBTotal]
Measure=Calc
Formula=MeasureFreeGBLogicalDriveC+MeasureFreeGBLogicalDriveD+MeasureFreeGBLogicalDriveE+MeasureFreeGBLogicalDriveF+MeasureFreeGBLogicalDriveG+MeasureFreeGBLogicalDriveX+MeasureFreeGBLogicalDriveY+MeasureFreeGBLogicalDriveZ

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[MeasureAccentLogicalDriveC]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveC/3

[MeasureAccentLogicalDriveD]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveD/3

[MeasureAccentLogicalDriveE]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveE/3

[MeasureAccentLogicalDriveF]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveF/3

[MeasureAccentLogicalDriveG]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveG/3

[MeasureAccentLogicalDriveX]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveX/3

[MeasureAccentLogicalDriveY]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveY/3

[MeasureAccentLogicalDriveZ]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveZ/3

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[MeasureDensityLogicalDriveC]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveC/15

[MeasureDensityLogicalDriveD]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveD/15

[MeasureDensityLogicalDriveE]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveE/15

[MeasureDensityLogicalDriveF]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveF/15

[MeasureDensityLogicalDriveG]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveG/15

[MeasureDensityLogicalDriveX]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveX/15

[MeasureDensityLogicalDriveY]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveY/15

[MeasureDensityLogicalDriveZ]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveZ/15

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[MeasureColorRLogicalDriveC]
Measure=Calc
Formula=((MeasureFreePercentLogicalDriveC*2.55)-255)*-1

[MeasureColorGLogicalDriveC]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveC*2.55

[MeasureColorBLogicalDriveC]
Measure=Calc
Formula=Random
LowBound=0
HighBound=150

[MeasureColorRLogicalDriveD]
Measure=Calc
Formula=((MeasureFreePercentLogicalDriveD*2.55)-255)*-1

[MeasureColorGLogicalDriveD]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveD*2.55

[MeasureColorBLogicalDriveD]
Measure=Calc
Formula=Random
LowBound=0
HighBound=150

[MeasureColorRLogicalDriveE]
Measure=Calc
Formula=((MeasureFreePercentLogicalDriveE*2.55)-255)*-1

[MeasureColorGLogicalDriveE]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveE*2.55

[MeasureColorBLogicalDriveE]
Measure=Calc
Formula=Random
LowBound=0
HighBound=150

[MeasureColorRLogicalDriveF]
Measure=Calc
Formula=((MeasureFreePercentLogicalDriveF*2.55)-255)*-1

[MeasureColorGLogicalDriveF]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveF*2.55

[MeasureColorBLogicalDriveF]
Measure=Calc
Formula=Random
LowBound=0
HighBound=150

[MeasureColorRLogicalDriveG]
Measure=Calc
Formula=((MeasureFreePercentLogicalDriveG*2.55)-255)*-1

[MeasureColorGLogicalDriveG]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveG*2.55

[MeasureColorBLogicalDriveG]
Measure=Calc
Formula=Random
LowBound=0
HighBound=150

[MeasureColorRLogicalDriveX]
Measure=Calc
Formula=((MeasureFreePercentLogicalDriveX*2.55)-255)*-1

[MeasureColorGLogicalDriveX]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveX*2.55

[MeasureColorBLogicalDriveX]
Measure=Calc
Formula=Random
LowBound=0
HighBound=150

[MeasureColorRLogicalDriveY]
Measure=Calc
Formula=((MeasureFreePercentLogicalDriveY*2.55)-255)*-1

[MeasureColorGLogicalDriveY]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveY*2.55

[MeasureColorBLogicalDriveY]
Measure=Calc
Formula=Random
LowBound=0
HighBound=150

[MeasureColorRLogicalDriveZ]
Measure=Calc
Formula=((MeasureFreePercentLogicalDriveZ*2.55)-255)*-1

[MeasureColorGLogicalDriveZ]
Measure=Calc
Formula=MeasureFreePercentLogicalDriveZ*2.55

[MeasureColorBLogicalDriveZ]
Measure=Calc
Formula=Random
LowBound=0
HighBound=150

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[MeasureLine]
Measure=Calc
Formula=100
MinValue=0
MaxValue=100

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[MeterFreeLogicalDriveC]
Meter=Roundline
MeasureName=MeasureTotalDiskSpaceLogicalDriveC
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90))
RotationAngle=(Rad([MeasureScaleSizeLogicalDriveC]))
LineStart=(#LineSize#+[MeasureAccentLogicalDriveC]-[MeasureDensityLogicalDriveC])
LineLength=(#LineSize#+[MeasureAccentLogicalDriveC])
LeftMouseUpAction=!RainmeterRefresh
LineColor=[MeasureColorRLogicalDriveC],[MeasureColorGLogicalDriveC],[MeasureColorBLogicalDriveC],255

[MeterFreeLogicalDriveD]
Meter=Roundline
MeasureName=MeasureTotalDiskSpaceLogicalDriveD
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90)+(Rad([MeasureScaleSizeLogicalDriveC])))
RotationAngle=(Rad([MeasureScaleSizeLogicalDriveD]))
LineStart=(#LineSize#+[MeasureAccentLogicalDriveD]-[MeasureDensityLogicalDriveD])
LineLength=(#LineSize#+[MeasureAccentLogicalDriveD])
LeftMouseUpAction=!RainmeterRefresh
LineColor=[MeasureColorRLogicalDriveD],[MeasureColorGLogicalDriveD],[MeasureColorBLogicalDriveD],255

[MeterFreeLogicalDriveE]
Meter=Roundline
MeasureName=MeasureTotalDiskSpaceLogicalDriveE
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90)+(Rad([MeasureScaleSizeLogicalDriveC]))+(Rad([MeasureScaleSizeLogicalDriveD])))
RotationAngle=(Rad([MeasureScaleSizeLogicalDriveE]))
LineStart=(#LineSize#+[MeasureAccentLogicalDriveE]-[MeasureDensityLogicalDriveE])
LineLength=(#LineSize#+[MeasureAccentLogicalDriveE])
LeftMouseUpAction=!RainmeterRefresh
LineColor=[MeasureColorRLogicalDriveE],[MeasureColorGLogicalDriveE],[MeasureColorBLogicalDriveE],255

[MeterFreeLogicalDriveF]
Meter=Roundline
MeasureName=MeasureTotalDiskSpaceLogicalDriveF
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90)+(Rad([MeasureScaleSizeLogicalDriveC]))+(Rad([MeasureScaleSizeLogicalDriveD]))+(Rad([MeasureScaleSizeLogicalDriveE])))
RotationAngle=(Rad([MeasureScaleSizeLogicalDriveF]))
LineStart=(#LineSize#+[MeasureAccentLogicalDriveF]-[MeasureDensityLogicalDriveF])
LineLength=(#LineSize#+[MeasureAccentLogicalDriveF])
LeftMouseUpAction=!RainmeterRefresh
LineColor=[MeasureColorRLogicalDriveF],[MeasureColorGLogicalDriveF],[MeasureColorBLogicalDriveF],255

[MeterFreeLogicalDriveG]
Meter=Roundline
MeasureName=MeasureTotalDiskSpaceLogicalDriveG
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90)+(Rad([MeasureScaleSizeLogicalDriveC]))+(Rad([MeasureScaleSizeLogicalDriveD]))+(Rad([MeasureScaleSizeLogicalDriveE]))+(Rad([MeasureScaleSizeLogicalDriveF])))
RotationAngle=(Rad([MeasureScaleSizeLogicalDriveG]))
LineStart=(#LineSize#+[MeasureAccentLogicalDriveG]-[MeasureDensityLogicalDriveG])
LineLength=(#LineSize#+[MeasureAccentLogicalDriveG])
LeftMouseUpAction=!RainmeterRefresh
LineColor=[MeasureColorRLogicalDriveG],[MeasureColorGLogicalDriveG],[MeasureColorBLogicalDriveG],255

[MeterFreeLogicalDriveX]
Meter=Roundline
MeasureName=MeasureTotalDiskSpaceLogicalDriveX
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90)+(Rad([MeasureScaleSizeLogicalDriveC]))+(Rad([MeasureScaleSizeLogicalDriveD]))+(Rad([MeasureScaleSizeLogicalDriveE]))+(Rad([MeasureScaleSizeLogicalDriveF]))+(Rad([MeasureScaleSizeLogicalDriveG])))
RotationAngle=(Rad([MeasureScaleSizeLogicalDriveX]))
LineStart=(#LineSize#+[MeasureAccentLogicalDriveX]-[MeasureDensityLogicalDriveX])
LineLength=(#LineSize#+[MeasureAccentLogicalDriveX])
LeftMouseUpAction=!RainmeterRefresh
LineColor=[MeasureColorRLogicalDriveX],[MeasureColorGLogicalDriveX],[MeasureColorBLogicalDriveX],255

[MeterFreeLogicalDriveY]
Meter=Roundline
MeasureName=MeasureTotalDiskSpaceLogicalDriveY
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90)+(Rad([MeasureScaleSizeLogicalDriveC]))+(Rad([MeasureScaleSizeLogicalDriveD]))+(Rad([MeasureScaleSizeLogicalDriveE]))+(Rad([MeasureScaleSizeLogicalDriveF]))+(Rad([MeasureScaleSizeLogicalDriveG]))+(Rad([MeasureScaleSizeLogicalDriveX])))
RotationAngle=(Rad([MeasureScaleSizeLogicalDriveY]))
LineStart=(#LineSize#+[MeasureAccentLogicalDriveY]-[MeasureDensityLogicalDriveY])
LineLength=(#LineSize#+[MeasureAccentLogicalDriveY])
LeftMouseUpAction=!RainmeterRefresh
LineColor=[MeasureColorRLogicalDriveY],[MeasureColorGLogicalDriveY],[MeasureColorBLogicalDriveY],255

[MeterFreeLogicalDriveZ]
Meter=Roundline
MeasureName=MeasureTotalDiskSpaceLogicalDriveZ
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90)+(Rad([MeasureScaleSizeLogicalDriveC]))+(Rad([MeasureScaleSizeLogicalDriveD]))+(Rad([MeasureScaleSizeLogicalDriveE]))+(Rad([MeasureScaleSizeLogicalDriveF]))+(Rad([MeasureScaleSizeLogicalDriveG]))+(Rad([MeasureScaleSizeLogicalDriveX]))+(Rad([MeasureScaleSizeLogicalDriveY])))
RotationAngle=(Rad([MeasureScaleSizeLogicalDriveZ]))
LineStart=(#LineSize#+[MeasureAccentLogicalDriveZ]-[MeasureDensityLogicalDriveZ])
LineLength=(#LineSize#+[MeasureAccentLogicalDriveZ])
LeftMouseUpAction=!RainmeterRefresh
LineColor=[MeasureColorRLogicalDriveZ],[MeasureColorGLogicalDriveZ],[MeasureColorBLogicalDriveZ],255
ToolTipText=#LogicalDriveC# [MeasureFreeGBLogicalDriveC] GB#CRLF##LogicalDriveD# [MeasureFreeGBLogicalDriveD] GB#CRLF##LogicalDriveE# [MeasureFreeGBLogicalDriveE] GB#CRLF##LogicalDriveF# [MeasureFreeGBLogicalDriveF] GB#CRLF##LogicalDriveG# [MeasureFreeGBLogicalDriveG] GB#CRLF##LogicalDriveX# [MeasureFreeGBLogicalDriveX] GB#CRLF##LogicalDriveY# [MeasureFreeGBLogicalDriveY] GB#CRLF##LogicalDriveZ# [MeasureFreeGBLogicalDriveZ] GB

[MeterFreeGBTotalText]
Meter=String
MeasureName=MeasureFreeGBTotal
X=(#BoxSize#/2)
Y=(#BoxSize#/2)
FontSize=#FontSize#
FontColor=250,250,250,200
StringAlign=CenterCenter
AntiAlias=1
Postfix=GB
You do not have the required permissions to view the files attached to this post.
Craft
Posts: 21
Joined: August 3rd, 2017, 6:00 pm

Re: Roundline HDD Meter V3

Craft » November 30th, 2017, 7:55 am

V3

Code: Select all


[Rainmeter]
Update=25
AccurateText=1
DynamicWindowSize=1

[Variables]
UpdateAverageSize=250
FontSize=12
ScaleFactor=360
LineSize=50
BoxSize=(#LineSize#*4)
DensityMultiplier=10
AccentMultiplier=3
LineStartShift=1

LogicalDriveC=C:
LogicalDriveD=D:
LogicalDriveE=E:
LogicalDriveF=F:
LogicalDriveG=G:

LogicalDriveX=X:
LogicalDriveY=Y:
LogicalDriveZ=Z:

PointerColor=255,200,0,255

Delimiter=1

DelimiterC=0
DelimiterD=0
DelimiterE=0
DelimiterF=0
DelimiterG=0
DelimiterX=0
DelimiterY=0
DelimiterZ=0

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[TotalDriveSpaceC]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveC#

[TotalDriveSpaceD]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveD#

[TotalDriveSpaceE]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveE#

[TotalDriveSpaceF]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveF#

[TotalDriveSpaceG]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveG#

[TotalDriveSpaceX]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveX#

[TotalDriveSpaceY]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveY#

[TotalDriveSpaceZ]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveZ#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[FreeDriveSpaceC]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveC#

[FreeDriveSpaceD]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveD#

[FreeDriveSpaceE]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveE#

[FreeDriveSpaceF]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveF#

[FreeDriveSpaceG]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveG#

[FreeDriveSpaceX]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveX#

[FreeDriveSpaceY]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveY#

[FreeDriveSpaceZ]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveZ#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[TotalScaleDriveSize]
Measure=Calc
Formula=(FreeDriveSpaceC+FreeDriveSpaceD+FreeDriveSpaceE+FreeDriveSpaceF+FreeDriveSpaceG+FreeDriveSpaceX+FreeDriveSpaceY+FreeDriveSpaceZ)/#ScaleFactor#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[ScaleSizeDriveC]
Measure=Calc
Formula=(FreeDriveSpaceC/TotalScaleDriveSize)

[ScaleSizeDriveD]
Measure=Calc
Formula=(FreeDriveSpaceD/TotalScaleDriveSize)

[ScaleSizeDriveE]
Measure=Calc
Formula=(FreeDriveSpaceE/TotalScaleDriveSize)

[ScaleSizeDriveF]
Measure=Calc
Formula=(FreeDriveSpaceF/TotalScaleDriveSize)

[ScaleSizeDriveG]
Measure=Calc
Formula=(FreeDriveSpaceG/TotalScaleDriveSize)

[ScaleSizeDriveX]
Measure=Calc
Formula=(FreeDriveSpaceX/TotalScaleDriveSize)

[ScaleSizeDriveY]
Measure=Calc
Formula=(FreeDriveSpaceY/TotalScaleDriveSize)

[ScaleSizeDriveZ]
Measure=Calc
Formula=(FreeDriveSpaceZ/TotalScaleDriveSize)

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[FreePercentDriveC]
Measure=Calc
Formula=FreeDriveSpaceC/((TotalDriveSpaceC+1)/100)

[FreePercentDriveD]
Measure=Calc
Formula=FreeDriveSpaceD/((TotalDriveSpaceD+1)/100)

[FreePercentDriveE]
Measure=Calc
Formula=FreeDriveSpaceE/((TotalDriveSpaceE+1)/100)

[FreePercentDriveF]
Measure=Calc
Formula=FreeDriveSpaceF/((TotalDriveSpaceF+1)/100)

[FreePercentDriveG]
Measure=Calc
Formula=FreeDriveSpaceG/((TotalDriveSpaceG+1)/100)

[FreePercentDriveX]
Measure=Calc
Formula=FreeDriveSpaceX/((TotalDriveSpaceX+1)/100)

[FreePercentDriveY]
Measure=Calc
Formula=FreeDriveSpaceY/((TotalDriveSpaceY+1)/100)

[FreePercentDriveZ]
Measure=Calc
Formula=FreeDriveSpaceZ/((TotalDriveSpaceZ+1)/100)

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[AveragePercentFree]
Measure=Calc
Formula=(FreeDriveSpaceC+FreeDriveSpaceD+FreeDriveSpaceE+FreeDriveSpaceF+FreeDriveSpaceG+FreeDriveSpaceX+FreeDriveSpaceY+FreeDriveSpaceZ)/((TotalDriveSpaceC+TotalDriveSpaceD+TotalDriveSpaceE+TotalDriveSpaceF+TotalDriveSpaceG+TotalDriveSpaceX+TotalDriveSpaceY+TotalDriveSpaceZ)/100)
MinValue=0
MaxValue=100
IfConditionMode=1
IfCondition=AveragePercentFree <= 25
IfTrueAction=!SetVariable PointerColor 255,0,0,255
IfFalseAction=!SetVariable PointerColor 255,200,0,255
IfCondition2=(AveragePercentFree >= 50) && (AveragePercentFree < 75)
IfTrueAction2=!SetVariable PointerColor 0,150,250,255
IfCondition3=AveragePercentFree >= 75
IfTrueAction3=!SetVariable PointerColor 50,250,50,255

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[FreeGBDriveC]
Measure=Calc
Formula=Round(FreeDriveSpaceC/1000/1000/1000,0)

[FreeGBDriveD]
Measure=Calc
Formula=Round(FreeDriveSpaceD/1000/1000/1000,0)

[FreeGBDriveE]
Measure=Calc
Formula=Round(FreeDriveSpaceE/1000/1000/1000,0)

[FreeGBDriveF]
Measure=Calc
Formula=Round(FreeDriveSpaceF/1000/1000/1000,0)

[FreeGBDriveG]
Measure=Calc
Formula=Round(FreeDriveSpaceG/1000/1000/1000,0)

[FreeGBDriveX]
Measure=Calc
Formula=Round(FreeDriveSpaceX/1000/1000/1000,0)

[FreeGBDriveY]
Measure=Calc
Formula=Round(FreeDriveSpaceY/1000/1000/1000,0)

[FreeGBDriveZ]
Measure=Calc
Formula=Round(FreeDriveSpaceZ/1000/1000/1000,0)

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[FreeSpaceTotal]
Measure=Calc
Formula=FreeDriveSpaceC+FreeDriveSpaceD+FreeDriveSpaceE+FreeDriveSpaceF+FreeDriveSpaceG+FreeDriveSpaceX+FreeDriveSpaceY+FreeDriveSpaceZ

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[AccentDriveC]
Measure=Calc
Formula=FreePercentDriveC/#AccentMultiplier#

[AccentDriveD]
Measure=Calc
Formula=FreePercentDriveD/#AccentMultiplier#

[AccentDriveE]
Measure=Calc
Formula=FreePercentDriveE/#AccentMultiplier#

[AccentDriveF]
Measure=Calc
Formula=FreePercentDriveF/#AccentMultiplier#

[AccentDriveG]
Measure=Calc
Formula=FreePercentDriveG/#AccentMultiplier#

[AccentDriveX]
Measure=Calc
Formula=FreePercentDriveX/#AccentMultiplier#

[AccentDriveY]
Measure=Calc
Formula=FreePercentDriveY/#AccentMultiplier#

[AccentDriveZ]
Measure=Calc
Formula=FreePercentDriveZ/#AccentMultiplier#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[DensityDriveC]
Measure=Calc
Formula=FreePercentDriveC/#DensityMultiplier#

[DensityDriveD]
Measure=Calc
Formula=FreePercentDriveD/#DensityMultiplier#

[DensityDriveE]
Measure=Calc
Formula=FreePercentDriveE/#DensityMultiplier#

[DensityDriveF]
Measure=Calc
Formula=FreePercentDriveF/#DensityMultiplier#

[DensityDriveG]
Measure=Calc
Formula=FreePercentDriveG/#DensityMultiplier#

[DensityDriveX]
Measure=Calc
Formula=FreePercentDriveX/#DensityMultiplier#

[DensityDriveY]
Measure=Calc
Formula=FreePercentDriveY/#DensityMultiplier#

[DensityDriveZ]
Measure=Calc
Formula=FreePercentDriveZ/#DensityMultiplier#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[DelimiterDriveC]
Measure=Calc
Formula=FreeDriveSpaceC
DynamicVariables=1
IfAboveValue=0
IfAboveAction=[!SetVariable DelimiterC #Delimiter#]
IfBelowValue=1
IfBelowAction=[!SetVariable DelimiterC 0]

[DelimiterDriveD]
Measure=Calc
Formula=FreeDriveSpaceD
DynamicVariables=1
IfAboveValue=0
IfAboveAction=[!SetVariable DelimiterD #Delimiter#]
IfBelowValue=1
IfBelowAction=[!SetVariable DelimiterD 0]

[DelimiterDriveE]
Measure=Calc
Formula=FreeDriveSpaceE
DynamicVariables=1
IfAboveValue=0
IfAboveAction=[!SetVariable DelimiterE #Delimiter#]
IfBelowValue=1
IfBelowAction=[!SetVariable DelimiterE 0]

[DelimiterDriveF]
Measure=Calc
Formula=FreeDriveSpaceF
DynamicVariables=1
IfAboveValue=0
IfAboveAction=[!SetVariable DelimiterF #Delimiter#]
IfBelowValue=1
IfBelowAction=[!SetVariable DelimiterF 0]

[DelimiterDriveG]
Measure=Calc
Formula=FreeDriveSpaceG
DynamicVariables=1
IfAboveValue=0
IfAboveAction=[!SetVariable DelimiterG #Delimiter#]
IfBelowValue=1
IfBelowAction=[!SetVariable DelimiterG 0]

[DelimiterDriveX]
Measure=Calc
Formula=FreeDriveSpaceX
DynamicVariables=1
IfAboveValue=0
IfAboveAction=[!SetVariable DelimiterX #Delimiter#]
IfBelowValue=1
IfBelowAction=[!SetVariable DelimiterX 0]

[DelimiterDriveY]
Measure=Calc
Formula=FreeDriveSpaceY
DynamicVariables=1
IfAboveValue=0
IfAboveAction=[!SetVariable DelimiterY #Delimiter#]
IfBelowValue=1
IfBelowAction=[!SetVariable DelimiterY 0]

[DelimiterDriveZ]
Measure=Calc
Formula=FreeDriveSpaceZ
DynamicVariables=1
IfAboveValue=0
IfAboveAction=[!SetVariable DelimiterZ #Delimiter#]
IfBelowValue=1
IfBelowAction=[!SetVariable DelimiterZ 0]

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[ColorRDriveC]
Measure=Calc
Formula=((FreePercentDriveC*2.55)-255)*-1

[ColorGDriveC]
Measure=Calc
Formula=FreePercentDriveC*2.55

[ColorBDriveC]
Measure=Calc
Formula=Random
LowBound=0
HighBound=150

[ColorRDriveD]
Measure=Calc
Formula=((FreePercentDriveD*2.55)-255)*-1

[ColorGDriveD]
Measure=Calc
Formula=FreePercentDriveD*2.55

[ColorBDriveD]
Measure=Calc
Formula=Random
LowBound=0
HighBound=150

[ColorRDriveE]
Measure=Calc
Formula=((FreePercentDriveE*2.55)-255)*-1

[ColorGDriveE]
Measure=Calc
Formula=FreePercentDriveE*2.55

[ColorBDriveE]
Measure=Calc
Formula=Random
LowBound=0
HighBound=150

[ColorRDriveF]
Measure=Calc
Formula=((FreePercentDriveF*2.55)-255)*-1

[ColorGDriveF]
Measure=Calc
Formula=FreePercentDriveF*2.55

[ColorBDriveF]
Measure=Calc
Formula=Random
LowBound=0
HighBound=150

[ColorRDriveG]
Measure=Calc
Formula=((FreePercentDriveG*2.55)-255)*-1

[ColorGDriveG]
Measure=Calc
Formula=FreePercentDriveG*2.55

[ColorBDriveG]
Measure=Calc
Formula=Random
LowBound=0
HighBound=150

[ColorRDriveX]
Measure=Calc
Formula=((FreePercentDriveX*2.55)-255)*-1

[ColorGDriveX]
Measure=Calc
Formula=FreePercentDriveX*2.55

[ColorBDriveX]
Measure=Calc
Formula=Random
LowBound=0
HighBound=150

[ColorRDriveY]
Measure=Calc
Formula=((FreePercentDriveY*2.55)-255)*-1

[ColorGDriveY]
Measure=Calc
Formula=FreePercentDriveY*2.55

[ColorBDriveY]
Measure=Calc
Formula=Random
LowBound=0
HighBound=150

[ColorRDriveZ]
Measure=Calc
Formula=((FreePercentDriveZ*2.55)-255)*-1

[ColorGDriveZ]
Measure=Calc
Formula=FreePercentDriveZ*2.55

[ColorBDriveZ]
Measure=Calc
Formula=Random
LowBound=0
HighBound=150

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[Line]
Measure=Calc
Formula=100
MinValue=0
MaxValue=100

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[TotalLine]
Meter=Roundline
MeasureName=AveragePercentFree
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90))
RotationAngle=(Rad(360))
LineStart=(#LineSize#-8)
LineLength=(#LineSize#-4)
LeftMouseUpAction=!RainmeterRefresh
LineColor=255,255,255,25

[TotalLineFixedPointer]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90))
RotationAngle=(Rad(360))
LineStart=(#LineSize#-8)
LineLength=(#LineSize#-4)
LineWidth=2
LineLength=40
LeftMouseUpAction=!RainmeterRefresh
LineColor=255,255,255,255

[TotalLinePointer]
Meter=Roundline
MeasureName=AveragePercentFree
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90))
RotationAngle=(Rad(360))
LineStart=(#LineSize#-8)
LineLength=(#LineSize#-4)
LineWidth=4
LineLength=40
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointerColor#

[FreeLogicalDriveC]
Meter=Roundline
MeasureName=TotalDriveSpaceC
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90))
RotationAngle=(Rad([ScaleSizeDriveC]-#DelimiterC#))
LineStart=(#LineSize#+[AccentDriveC]-[DensityDriveC]-#LineStartShift#)
LineLength=(#LineSize#+[AccentDriveC])
LeftMouseUpAction=!RainmeterRefresh
LineColor=[ColorRDriveC],[ColorGDriveC],[ColorBDriveC],255

[FreeLogicalDriveD]
Meter=Roundline
MeasureName=TotalDriveSpaceD
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90)+(Rad([ScaleSizeDriveC])))
RotationAngle=(Rad([ScaleSizeDriveD]-#DelimiterD#))
LineStart=(#LineSize#+[AccentDriveD]-[DensityDriveD]-#LineStartShift#)
LineLength=(#LineSize#+[AccentDriveD])
LeftMouseUpAction=!RainmeterRefresh
LineColor=[ColorRDriveD],[ColorGDriveD],[ColorBDriveD],255

[FreeLogicalDriveE]
Meter=Roundline
MeasureName=TotalDriveSpaceE
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90)+(Rad([ScaleSizeDriveC]))+(Rad([ScaleSizeDriveD])))
RotationAngle=(Rad([ScaleSizeDriveE]-#DelimiterE#))
LineStart=(#LineSize#+[AccentDriveE]-[DensityDriveE]-#LineStartShift#)
LineLength=(#LineSize#+[AccentDriveE])
LeftMouseUpAction=!RainmeterRefresh
LineColor=[ColorRDriveE],[ColorGDriveE],[ColorBDriveE],255

[FreeLogicalDriveF]
Meter=Roundline
MeasureName=TotalDriveSpaceF
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90)+(Rad([ScaleSizeDriveC]))+(Rad([ScaleSizeDriveD]))+(Rad([ScaleSizeDriveE])))
RotationAngle=(Rad([ScaleSizeDriveF]-#DelimiterF#))
LineStart=(#LineSize#+[AccentDriveF]-[DensityDriveF]-#LineStartShift#)
LineLength=(#LineSize#+[AccentDriveF])
LeftMouseUpAction=!RainmeterRefresh
LineColor=[ColorRDriveF],[ColorGDriveF],[ColorBDriveF],255

[FreeLogicalDriveG]
Meter=Roundline
MeasureName=TotalDriveSpaceG
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90)+(Rad([ScaleSizeDriveC]))+(Rad([ScaleSizeDriveD]))+(Rad([ScaleSizeDriveE]))+(Rad([ScaleSizeDriveF])))
RotationAngle=(Rad([ScaleSizeDriveG]-#DelimiterG#))
LineStart=(#LineSize#+[AccentDriveG]-[DensityDriveG]-#LineStartShift#)
LineLength=(#LineSize#+[AccentDriveG])
LeftMouseUpAction=!RainmeterRefresh
LineColor=[ColorRDriveG],[ColorGDriveG],[ColorBDriveG],255

[FreeLogicalDriveX]
Meter=Roundline
MeasureName=TotalDriveSpaceX
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90)+(Rad([ScaleSizeDriveC]))+(Rad([ScaleSizeDriveD]))+(Rad([ScaleSizeDriveE]))+(Rad([ScaleSizeDriveF]))+(Rad([ScaleSizeDriveG])))
RotationAngle=(Rad([ScaleSizeDriveX]-#DelimiterX#))
LineStart=(#LineSize#+[AccentDriveX]-[DensityDriveX]-#LineStartShift#)
LineLength=(#LineSize#+[AccentDriveX])
LeftMouseUpAction=!RainmeterRefresh
LineColor=[ColorRDriveX],[ColorGDriveX],[ColorBDriveX],255

[FreeLogicalDriveY]
Meter=Roundline
MeasureName=TotalDriveSpaceY
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90)+(Rad([ScaleSizeDriveC]))+(Rad([ScaleSizeDriveD]))+(Rad([ScaleSizeDriveE]))+(Rad([ScaleSizeDriveF]))+(Rad([ScaleSizeDriveG]))+(Rad([ScaleSizeDriveX])))
RotationAngle=(Rad([ScaleSizeDriveY]-#DelimiterY#))
LineStart=(#LineSize#+[AccentDriveY]-[DensityDriveY]-#LineStartShift#)
LineLength=(#LineSize#+[AccentDriveY])
LeftMouseUpAction=!RainmeterRefresh
LineColor=[ColorRDriveY],[ColorGDriveY],[ColorBDriveY],255

[FreeLogicalDriveZ]
Meter=Roundline
MeasureName=TotalDriveSpaceZ
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90)+(Rad([ScaleSizeDriveC]))+(Rad([ScaleSizeDriveD]))+(Rad([ScaleSizeDriveE]))+(Rad([ScaleSizeDriveF]))+(Rad([ScaleSizeDriveG]))+(Rad([ScaleSizeDriveX]))+(Rad([ScaleSizeDriveY])))
RotationAngle=(Rad([ScaleSizeDriveZ]-#DelimiterZ#))
LineStart=(#LineSize#+[AccentDriveZ]-[DensityDriveZ]-#LineStartShift#)
LineLength=(#LineSize#+[AccentDriveZ])
LeftMouseUpAction=!RainmeterRefresh
LineColor=[ColorRDriveZ],[ColorGDriveZ],[ColorBDriveZ],255
ToolTipText=#LogicalDriveC# [FreeGBDriveC] GB#CRLF##LogicalDriveD# [FreeGBDriveD] GB#CRLF##LogicalDriveE# [FreeGBDriveE] GB#CRLF##LogicalDriveF# [FreeGBDriveF] GB#CRLF##LogicalDriveG# [FreeGBDriveG] GB#CRLF##LogicalDriveX# [FreeGBDriveX] GB#CRLF##LogicalDriveY# [FreeGBDriveY] GB#CRLF##LogicalDriveZ# [FreeGBDriveZ] GB

[FreeGBTotalText]
Meter=String
MeasureName=FreeSpaceTotal
AutoScale=2
NumOfDecimals=3
X=(#BoxSize#/2)
Y=(#BoxSize#/2)
FontFace=Calibri
FontSize=#FontSize#
FontColor=250,250,250,150
StringAlign=CenterCenter
AntiAlias=1

Craft
Posts: 21
Joined: August 3rd, 2017, 6:00 pm

Re: Roundline HDD Meter V4

Craft » January 6th, 2018, 12:18 pm

Capture.PNG

Code: Select all

[Rainmeter]
Update=25
AccurateText=1
DynamicWindowSize=1

[Variables]
UpdateAverageSize=250
FontSize=14
ScaleFactor=360
LineSize=60
BoxSize=(#LineSize#*3)
LineStartShift=4
StartPosition=90

LogicalDriveC=C:
LogicalDriveD=D:
LogicalDriveE=E:
LogicalDriveF=F:
LogicalDriveG=G:
LogicalDriveX=X:
LogicalDriveY=Y:
LogicalDriveZ=Z:

PointerColor=255,200,0,255

ColorValueDriveC=255,200,0,255
ColorValueDriveD=255,200,0,255
ColorValueDriveE=255,200,0,255
ColorValueDriveF=255,200,0,255
ColorValueDriveG=255,200,0,255
ColorValueDriveX=255,200,0,255
ColorValueDriveY=255,200,0,255
ColorValueDriveZ=255,200,0,255

WarningColorA=225,25,50,255
WarningColorB=250,125,25,255
WarningColorC=200,250,0,255
WarningColorD=50,225,100,255
WarningColorE=0,150,200,255

PointersLineStart=0
PointersLineLength=0
PointersColor=0,0,0,255
PointersWidth=2

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[TotalDriveSpaceC]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
Drive=#LogicalDriveC#

[TotalDriveSpaceD]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
Drive=#LogicalDriveD#

[TotalDriveSpaceE]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
Drive=#LogicalDriveE#

[TotalDriveSpaceF]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
Drive=#LogicalDriveF#

[TotalDriveSpaceG]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
Drive=#LogicalDriveG#

[TotalDriveSpaceX]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
Drive=#LogicalDriveX#

[TotalDriveSpaceY]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
Drive=#LogicalDriveY#

[TotalDriveSpaceZ]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
Drive=#LogicalDriveZ#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[FreeDriveSpaceC]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveC#

[FreeDriveSpaceD]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveD#

[FreeDriveSpaceE]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveE#

[FreeDriveSpaceF]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveF#

[FreeDriveSpaceG]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveG#

[FreeDriveSpaceX]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveX#

[FreeDriveSpaceY]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveY#

[FreeDriveSpaceZ]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveZ#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[TotalFreeSpace]
Measure=Calc
DynamicVariables=1
Formula=(FreeDriveSpaceC+FreeDriveSpaceD+FreeDriveSpaceE+FreeDriveSpaceF+FreeDriveSpaceG+FreeDriveSpaceX+FreeDriveSpaceY+FreeDriveSpaceZ)

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[TotalScaleDriveSize]
Measure=Calc
Formula=TotalFreeSpace/#ScaleFactor#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[ScaleSizeDriveC]
Measure=Calc
Formula=(FreeDriveSpaceC/TotalScaleDriveSize)

[ScaleSizeDriveD]
Measure=Calc
Formula=(FreeDriveSpaceD/TotalScaleDriveSize)

[ScaleSizeDriveE]
Measure=Calc
Formula=(FreeDriveSpaceE/TotalScaleDriveSize)

[ScaleSizeDriveF]
Measure=Calc
Formula=(FreeDriveSpaceF/TotalScaleDriveSize)

[ScaleSizeDriveG]
Measure=Calc
Formula=(FreeDriveSpaceG/TotalScaleDriveSize)

[ScaleSizeDriveX]
Measure=Calc
Formula=(FreeDriveSpaceX/TotalScaleDriveSize)

[ScaleSizeDriveY]
Measure=Calc
Formula=(FreeDriveSpaceY/TotalScaleDriveSize)

[ScaleSizeDriveZ]
Measure=Calc
Formula=(FreeDriveSpaceZ/TotalScaleDriveSize)

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[StartAngleC]
Measure=Calc
DynamicVariables=1
Formula=#StartPosition#

[StartAngleD]
Measure=Calc
DynamicVariables=1
Formula=#StartPosition#+ScaleSizeDriveC

[StartAngleE]
Measure=Calc
DynamicVariables=1
Formula=#StartPosition#+ScaleSizeDriveC+ScaleSizeDriveD

[StartAngleF]
Measure=Calc
DynamicVariables=1
Formula=#StartPosition#+ScaleSizeDriveC+ScaleSizeDriveD+ScaleSizeDriveE

[StartAngleG]
Measure=Calc
DynamicVariables=1
Formula=#StartPosition#+ScaleSizeDriveC+ScaleSizeDriveD+ScaleSizeDriveE+ScaleSizeDriveF

[StartAngleX]
Measure=Calc
DynamicVariables=1
Formula=#StartPosition#+ScaleSizeDriveC+ScaleSizeDriveD+ScaleSizeDriveE+ScaleSizeDriveF+ScaleSizeDriveG

[StartAngleY]
Measure=Calc
DynamicVariables=1
Formula=#StartPosition#+ScaleSizeDriveC+ScaleSizeDriveD+ScaleSizeDriveE+ScaleSizeDriveF+ScaleSizeDriveG+ScaleSizeDriveX

[StartAngleZ]
Measure=Calc
DynamicVariables=1
Formula=#StartPosition#+ScaleSizeDriveC+ScaleSizeDriveD+ScaleSizeDriveE+ScaleSizeDriveF+ScaleSizeDriveG+ScaleSizeDriveX+ScaleSizeDriveY

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[FreePercentDriveC]
Measure=Calc
AverageSize=#UpdateAverageSize#
Formula=FreeDriveSpaceC/((TotalDriveSpaceC+1)/100)

[FreePercentDriveD]
Measure=Calc
AverageSize=#UpdateAverageSize#
Formula=FreeDriveSpaceD/((TotalDriveSpaceD+1)/100)

[FreePercentDriveE]
Measure=Calc
AverageSize=#UpdateAverageSize#
Formula=FreeDriveSpaceE/((TotalDriveSpaceE+1)/100)

[FreePercentDriveF]
Measure=Calc
AverageSize=#UpdateAverageSize#
Formula=FreeDriveSpaceF/((TotalDriveSpaceF+1)/100)

[FreePercentDriveG]
Measure=Calc
AverageSize=#UpdateAverageSize#
Formula=FreeDriveSpaceG/((TotalDriveSpaceG+1)/100)

[FreePercentDriveX]
Measure=Calc
AverageSize=#UpdateAverageSize#
Formula=FreeDriveSpaceX/((TotalDriveSpaceX+1)/100)

[FreePercentDriveY]
Measure=Calc
AverageSize=#UpdateAverageSize#
Formula=FreeDriveSpaceY/((TotalDriveSpaceY+1)/100)

[FreePercentDriveZ]
Measure=Calc
AverageSize=#UpdateAverageSize#
Formula=FreeDriveSpaceZ/((TotalDriveSpaceZ+1)/100)

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[AveragePercentFree]
Measure=Calc
AverageSize=#UpdateAverageSize#
Formula=(FreeDriveSpaceC+FreeDriveSpaceD+FreeDriveSpaceE+FreeDriveSpaceF+FreeDriveSpaceG+FreeDriveSpaceX+FreeDriveSpaceY+FreeDriveSpaceZ)/((TotalDriveSpaceC+TotalDriveSpaceD+TotalDriveSpaceE+TotalDriveSpaceF+TotalDriveSpaceG+TotalDriveSpaceX+TotalDriveSpaceY+TotalDriveSpaceZ)/100)
MinValue=0
MaxValue=100
IfConditionMode=1
IfCondition=(AveragePercentFree < 10)
IfTrueAction=!SetVariable PointerColor #WarningColorA#
IfCondition2=(AveragePercentFree >= 10) && (AveragePercentFree < 25)
IfTrueAction2=!SetVariable PointerColor #WarningColorB#
IfCondition3=(AveragePercentFree >= 25) && (AveragePercentFree < 50)
IfTrueAction3=!SetVariable PointerColor #WarningColorC#
IfCondition4=(AveragePercentFree >= 50) && (AveragePercentFree < 75)
IfTrueAction4=!SetVariable PointerColor #WarningColorD#
IfCondition5=(AveragePercentFree >= 75) && (AveragePercentFree <= 100)
IfTrueAction5=!SetVariable PointerColor #WarningColorE#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[FreeGBDriveC]
Measure=Calc
Formula=Round(FreeDriveSpaceC/1000/1000/1000,0)

[FreeGBDriveD]
Measure=Calc
Formula=Round(FreeDriveSpaceD/1000/1000/1000,0)

[FreeGBDriveE]
Measure=Calc
Formula=Round(FreeDriveSpaceE/1000/1000/1000,0)

[FreeGBDriveF]
Measure=Calc
Formula=Round(FreeDriveSpaceF/1000/1000/1000,0)

[FreeGBDriveG]
Measure=Calc
Formula=Round(FreeDriveSpaceG/1000/1000/1000,0)

[FreeGBDriveX]
Measure=Calc
Formula=Round(FreeDriveSpaceX/1000/1000/1000,0)

[FreeGBDriveY]
Measure=Calc
Formula=Round(FreeDriveSpaceY/1000/1000/1000,0)

[FreeGBDriveZ]
Measure=Calc
Formula=Round(FreeDriveSpaceZ/1000/1000/1000,0)


;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[ColorDriveC]
Measure=Calc
Formula=FreePercentDriveC
IfConditionMode=1
IfCondition=(FreePercentDriveC < 10)
IfTrueAction=!SetVariable ColorValueDriveC #WarningColorA#
IfCondition2=(FreePercentDriveC >= 10) && (FreePercentDriveC < 25)
IfTrueAction2=!SetVariable ColorValueDriveC #WarningColorB#
IfCondition3=(FreePercentDriveC >= 25) && (FreePercentDriveC < 50)
IfTrueAction3=!SetVariable ColorValueDriveC #WarningColorC#
IfCondition4=(FreePercentDriveC >= 50) && (FreePercentDriveC < 75)
IfTrueAction4=!SetVariable ColorValueDriveC #WarningColorD#
IfCondition5=(FreePercentDriveC >= 75) && (FreePercentDriveC <= 100)
IfTrueAction5=!SetVariable ColorValueDriveC #WarningColorE#

[ColorDriveD]
Measure=Calc
Formula=FreePercentDriveD
IfConditionMode=1
IfCondition=(FreePercentDriveD < 10)
IfTrueAction=!SetVariable ColorValueDriveD #WarningColorA#
IfCondition2=(FreePercentDriveD >= 10) && (FreePercentDriveD < 25)
IfTrueAction2=!SetVariable ColorValueDriveD #WarningColorB#
IfCondition3=(FreePercentDriveD >= 25) && (FreePercentDriveD < 50)
IfTrueAction3=!SetVariable ColorValueDriveD #WarningColorC#
IfCondition4=(FreePercentDriveD >= 50) && (FreePercentDriveD < 75)
IfTrueAction4=!SetVariable ColorValueDriveD #WarningColorD#
IfCondition5=(FreePercentDriveD >= 75) && (FreePercentDriveD <= 100)
IfTrueAction5=!SetVariable ColorValueDriveD #WarningColorE#

[ColorDriveE]
Measure=Calc
Formula=FreePercentDriveE
IfConditionMode=1
IfCondition=(FreePercentDriveE < 10)
IfTrueAction=!SetVariable ColorValueDriveE #WarningColorA#
IfCondition2=(FreePercentDriveE >= 10) && (FreePercentDriveE < 25)
IfTrueAction2=!SetVariable ColorValueDriveE #WarningColorB#
IfCondition3=(FreePercentDriveE >= 25) && (FreePercentDriveE < 50)
IfTrueAction3=!SetVariable ColorValueDriveE #WarningColorC#
IfCondition4=(FreePercentDriveE >= 50) && (FreePercentDriveE < 75)
IfTrueAction4=!SetVariable ColorValueDriveE #WarningColorD#
IfCondition5=(FreePercentDriveE >= 75) && (FreePercentDriveE <= 100)
IfTrueAction5=!SetVariable ColorValueDriveE #WarningColorE#

[ColorDriveF]
Measure=Calc
Formula=FreePercentDriveF
IfConditionMode=1
IfCondition=(FreePercentDriveF < 10)
IfTrueAction=!SetVariable ColorValueDriveF #WarningColorA#
IfCondition2=(FreePercentDriveF >= 10) && (FreePercentDriveF < 25)
IfTrueAction2=!SetVariable ColorValueDriveF #WarningColorB#
IfCondition3=(FreePercentDriveF >= 25) && (FreePercentDriveF < 50)
IfTrueAction3=!SetVariable ColorValueDriveF #WarningColorC#
IfCondition4=(FreePercentDriveF >= 50) && (FreePercentDriveF < 75)
IfTrueAction4=!SetVariable ColorValueDriveF #WarningColorD#
IfCondition5=(FreePercentDriveF >= 75) && (FreePercentDriveF <= 100)
IfTrueAction5=!SetVariable ColorValueDriveF #WarningColorE#

[ColorDriveG]
Measure=Calc
Formula=FreePercentDriveG
IfConditionMode=1
IfCondition=(FreePercentDriveG < 10)
IfTrueAction=!SetVariable ColorValueDriveG #WarningColorA#
IfCondition2=(FreePercentDriveG >= 10) && (FreePercentDriveG < 25)
IfTrueAction2=!SetVariable ColorValueDriveG #WarningColorB#
IfCondition3=(FreePercentDriveG >= 25) && (FreePercentDriveG < 50)
IfTrueAction3=!SetVariable ColorValueDriveG #WarningColorC#
IfCondition4=(FreePercentDriveG >= 50) && (FreePercentDriveG < 75)
IfTrueAction4=!SetVariable ColorValueDriveG #WarningColorD#
IfCondition5=(FreePercentDriveG >= 75) && (FreePercentDriveG <= 100)
IfTrueAction5=!SetVariable ColorValueDriveG #WarningColorE#

[ColorDriveX]
Measure=Calc
Formula=FreePercentDriveX
IfConditionMode=1
IfCondition=(FreePercentDriveX < 10)
IfTrueAction=!SetVariable ColorValueDriveX #WarningColorA#
IfCondition2=(FreePercentDriveX >= 10) && (FreePercentDriveX < 25)
IfTrueAction2=!SetVariable ColorValueDriveX #WarningColorB#
IfCondition3=(FreePercentDriveX >= 25) && (FreePercentDriveX < 50)
IfTrueAction3=!SetVariable ColorValueDriveX #WarningColorC#
IfCondition4=(FreePercentDriveX >= 50) && (FreePercentDriveX < 75)
IfTrueAction4=!SetVariable ColorValueDriveX #WarningColorD#
IfCondition5=(FreePercentDriveX >= 75) && (FreePercentDriveX <= 100)
IfTrueAction5=!SetVariable ColorValueDriveX #WarningColorE#

[ColorDriveY]
Measure=Calc
Formula=FreePercentDriveY
IfConditionMode=1
IfCondition=(FreePercentDriveY < 10)
IfTrueAction=!SetVariable ColorValueDriveY #WarningColorA#
IfCondition2=(FreePercentDriveY >= 10) && (FreePercentDriveY < 25)
IfTrueAction2=!SetVariable ColorValueDriveY #WarningColorB#
IfCondition3=(FreePercentDriveY >= 25) && (FreePercentDriveY < 50)
IfTrueAction3=!SetVariable ColorValueDriveY #WarningColorC#
IfCondition4=(FreePercentDriveY >= 50) && (FreePercentDriveY < 75)
IfTrueAction4=!SetVariable ColorValueDriveY #WarningColorD#
IfCondition5=(FreePercentDriveY >= 75) && (FreePercentDriveY <= 100)
IfTrueAction5=!SetVariable ColorValueDriveY #WarningColorE#

[ColorDriveZ]
Measure=Calc
Formula=FreePercentDriveZ
IfConditionMode=1
IfCondition=(FreePercentDriveZ < 10)
IfTrueAction=!SetVariable ColorValueDriveZ #WarningColorA#
IfCondition2=(FreePercentDriveZ >= 10) && (FreePercentDriveZ < 25)
IfTrueAction2=!SetVariable ColorValueDriveZ #WarningColorB#
IfCondition3=(FreePercentDriveZ >= 25) && (FreePercentDriveZ < 50)
IfTrueAction3=!SetVariable ColorValueDriveZ #WarningColorC#
IfCondition4=(FreePercentDriveZ >= 50) && (FreePercentDriveZ < 75)
IfTrueAction4=!SetVariable ColorValueDriveZ #WarningColorD#
IfCondition5=(FreePercentDriveZ >= 75) && (FreePercentDriveZ <= 100)
IfTrueAction5=!SetVariable ColorValueDriveZ #WarningColorE#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[Line]
Measure=Calc
Formula=100
MinValue=0
MaxValue=100

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[TotalLine]
Meter=Roundline
MeasureName=AveragePercentFree
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90))
RotationAngle=(Rad(360))
LineStart=(#LineSize#-10)
LineLength=(#LineSize#-6)
LeftMouseUpAction=!RainmeterRefresh
LineColor=255,255,255,25

[TotalLineFixedPointer]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90))
RotationAngle=(Rad(360))
LineStart=(#LineSize#-10)
LineLength=(#LineSize#-6)
LineWidth=2
LineLength=40
LeftMouseUpAction=!RainmeterRefresh
LineColor=255,255,255,255

[TotalLinePointer]
Meter=Roundline
MeasureName=AveragePercentFree
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad(90))
RotationAngle=(Rad(360))
LineStart=(#LineSize#-10)
LineLength=(#LineSize#-6)
LineWidth=4
LineLength=40
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointerColor#

[FreeLogicalDriveC]
Meter=Roundline
MeasureName=TotalDriveSpaceC
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad([StartAngleC]))
RotationAngle=(Rad([ScaleSizeDriveC]))
LineStart=(#LineSize#)
LineLength=(#LineSize#+#LineStartShift#)
LeftMouseUpAction=!RainmeterRefresh
LineColor=#ColorValueDriveC#

[FreeLogicalDriveD]
Meter=Roundline
MeasureName=TotalDriveSpaceD
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad([StartAngleD]))
RotationAngle=(Rad([ScaleSizeDriveD]))
LineStart=(#LineSize#)
LineLength=(#LineSize#+#LineStartShift#)
LeftMouseUpAction=!RainmeterRefresh
LineColor=#ColorValueDriveD#

[FreeLogicalDriveE]
Meter=Roundline
MeasureName=TotalDriveSpaceE
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad([StartAngleE]))
RotationAngle=(Rad([ScaleSizeDriveE]))
LineStart=(#LineSize#)
LineLength=(#LineSize#+#LineStartShift#)
LeftMouseUpAction=!RainmeterRefresh
LineColor=#ColorValueDriveE#

[FreeLogicalDriveF]
Meter=Roundline
MeasureName=TotalDriveSpaceF
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad([StartAngleF]))
RotationAngle=(Rad([ScaleSizeDriveF]))
LineStart=(#LineSize#)
LineLength=(#LineSize#+#LineStartShift#)
LeftMouseUpAction=!RainmeterRefresh
LineColor=#ColorValueDriveF#

[FreeLogicalDriveG]
Meter=Roundline
MeasureName=TotalDriveSpaceG
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad([StartAngleG]))
RotationAngle=(Rad([ScaleSizeDriveG]))
LineStart=(#LineSize#)
LineLength=(#LineSize#+#LineStartShift#)
LeftMouseUpAction=!RainmeterRefresh
LineColor=#ColorValueDriveG#

[FreeLogicalDriveX]
Meter=Roundline
MeasureName=TotalDriveSpaceX
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad([StartAngleX]))
RotationAngle=(Rad([ScaleSizeDriveX]))
LineStart=(#LineSize#)
LineLength=(#LineSize#+#LineStartShift#)
LeftMouseUpAction=!RainmeterRefresh
LineColor=#ColorValueDriveX#

[FreeLogicalDriveY]
Meter=Roundline
MeasureName=TotalDriveSpaceY
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad([StartAngleY]))
RotationAngle=(Rad([ScaleSizeDriveY]))
LineStart=(#LineSize#)
LineLength=(#LineSize#+#LineStartShift#)
LeftMouseUpAction=!RainmeterRefresh
LineColor=#ColorValueDriveY#

[FreeLogicalDriveZ]
Meter=Roundline
MeasureName=TotalDriveSpaceZ
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad([StartAngleZ]))
RotationAngle=(Rad([ScaleSizeDriveZ]))
LineStart=(#LineSize#)
LineLength=(#LineSize#+#LineStartShift#)
LeftMouseUpAction=!RainmeterRefresh
LineColor=#ColorValueDriveZ#
ToolTipText=#LogicalDriveC# [FreeGBDriveC] GB#CRLF##LogicalDriveD# [FreeGBDriveD] GB#CRLF##LogicalDriveE# [FreeGBDriveE] GB#CRLF##LogicalDriveF# [FreeGBDriveF] GB#CRLF##LogicalDriveG# [FreeGBDriveG] GB#CRLF##LogicalDriveX# [FreeGBDriveX] GB#CRLF##LogicalDriveY# [FreeGBDriveY] GB#CRLF##LogicalDriveZ# [FreeGBDriveZ] GB

[FixedPointerC]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad([StartAngleC]))
RotationAngle=(Rad(0))
LineStart=(#LineSize#+#PointersLineStart#)
LineLength=(#LineSize#+#LineStartShift#+#PointersLineLength#)
LineWidth=#PointersWidth#
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointersColor#

[FixedPointerD]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad([StartAngleD]))
RotationAngle=(Rad(0))
LineStart=(#LineSize#+#PointersLineStart#)
LineLength=(#LineSize#+#LineStartShift#+#PointersLineLength#)
LineWidth=#PointersWidth#
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointersColor#

[FixedPointerE]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad([StartAngleE]))
RotationAngle=(Rad(0))
LineStart=(#LineSize#+#PointersLineStart#)
LineLength=(#LineSize#+#LineStartShift#+#PointersLineLength#)
LineWidth=#PointersWidth#
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointersColor#

[FixedPointerF]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad([StartAngleF]))
RotationAngle=(Rad(0))
LineStart=(#LineSize#+#PointersLineStart#)
LineLength=(#LineSize#+#LineStartShift#+#PointersLineLength#)
LineWidth=#PointersWidth#
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointersColor#

[FixedPointerG]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad([StartAngleG]))
RotationAngle=(Rad(0))
LineStart=(#LineSize#+#PointersLineStart#)
LineLength=(#LineSize#+#LineStartShift#+#PointersLineLength#)
LineWidth=#PointersWidth#
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointersColor#

[FixedPointerX]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad([StartAngleX]))
RotationAngle=(Rad(0))
LineStart=(#LineSize#+#PointersLineStart#)
LineLength=(#LineSize#+#LineStartShift#+#PointersLineLength#)
LineWidth=#PointersWidth#
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointersColor#

[FixedPointerY]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad([StartAngleY]))
RotationAngle=(Rad(0))
LineStart=(#LineSize#+#PointersLineStart#)
LineLength=(#LineSize#+#LineStartShift#+#PointersLineLength#)
LineWidth=#PointersWidth#
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointersColor#

[FixedPointerZ]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSize#
H=#BoxSize#
StartAngle=(Rad([StartAngleZ]))
RotationAngle=(Rad(0))
LineStart=(#LineSize#+#PointersLineStart#)
LineLength=(#LineSize#+#LineStartShift#+#PointersLineLength#)
LineWidth=#PointersWidth#
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointersColor#

[FreeGBTotalText]
Meter=String
MeasureName=TotalFreeSpace
AutoScale=2
NumOfDecimals=3
X=(#BoxSize#/2)
Y=(#BoxSize#/2)
FontFace=Calibri
FontSize=#FontSize#
FontColor=250,250,250,150
StringAlign=CenterCenter
AntiAlias=1
You do not have the required permissions to view the files attached to this post.
Craft
Posts: 21
Joined: August 3rd, 2017, 6:00 pm

Re: Roundline HDD Meter V5

Craft » November 30th, 2018, 7:51 am

Now skin have R/W indicators for each disk.
Capture.JPG
Untitled.png

Code: Select all

[Rainmeter]
Update=25
AccurateText=1
DynamicWindowSize=1

[Variables]
UpdateAverageSize=250
UpdateAverageActivitySize=40
FontSize=14
ScaleFactor=360
LineSize=60
BoxSizeW=(180)
BoxSizeH=(180)

LineStartShift=4
StartPosition=90

LogicalDriveC=C:
LogicalDriveD=D:
LogicalDriveE=E:
LogicalDriveF=F:
LogicalDriveG=G:
LogicalDriveX=X:
LogicalDriveY=Y:
LogicalDriveZ=Z:

PointerColor=255,200,0,255

ColorValueDriveC=255,200,0,255
ColorValueDriveD=255,200,0,255
ColorValueDriveE=255,200,0,255
ColorValueDriveF=255,200,0,255
ColorValueDriveG=255,200,0,255
ColorValueDriveX=255,200,0,255
ColorValueDriveY=255,200,0,255
ColorValueDriveZ=255,200,0,255

WarningColorA=225,25,50,255
WarningColorB=250,125,25,255
WarningColorC=200,250,0,255
WarningColorD=50,225,100,255
WarningColorE=0,150,200,255

PointersLineStart=0
PointersLineLength=0
PointersColor=0,0,0,255
PointersWidth=2

LogicalDriveCReadColor=0,0,0,0
LogicalDriveDReadColor=0,0,0,0
LogicalDriveEReadColor=0,0,0,0
LogicalDriveFReadColor=0,0,0,0
LogicalDriveGReadColor=0,0,0,0
LogicalDriveXReadColor=0,0,0,0
LogicalDriveYReadColor=0,0,0,0
LogicalDriveZReadColor=0,0,0,0

LogicalDriveCWriteColor=0,0,0,0
LogicalDriveDWriteColor=0,0,0,0
LogicalDriveEWriteColor=0,0,0,0
LogicalDriveFWriteColor=0,0,0,0
LogicalDriveGWriteColor=0,0,0,0
LogicalDriveXWriteColor=0,0,0,0
LogicalDriveYWriteColor=0,0,0,0
LogicalDriveZWriteColor=0,0,0,0

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[TotalDriveSpaceC]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
Drive=#LogicalDriveC#

[TotalDriveSpaceD]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
Drive=#LogicalDriveD#

[TotalDriveSpaceE]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
Drive=#LogicalDriveE#

[TotalDriveSpaceF]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
Drive=#LogicalDriveF#

[TotalDriveSpaceG]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
Drive=#LogicalDriveG#

[TotalDriveSpaceX]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
Drive=#LogicalDriveX#

[TotalDriveSpaceY]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
Drive=#LogicalDriveY#

[TotalDriveSpaceZ]
Measure=FreeDiskSpace
Total=1
IgnoreRemovable=0
Drive=#LogicalDriveZ#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[FreeDriveSpaceC]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveC#

[FreeDriveSpaceD]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveD#

[FreeDriveSpaceE]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveE#

[FreeDriveSpaceF]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveF#

[FreeDriveSpaceG]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveG#

[FreeDriveSpaceX]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveX#

[FreeDriveSpaceY]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveY#

[FreeDriveSpaceZ]
Measure=FreeDiskSpace
IgnoreRemovable=0
AverageSize=#UpdateAverageSize#
Drive=#LogicalDriveZ#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[TotalFreeSpace]
Measure=Calc
DynamicVariables=1
Formula=(FreeDriveSpaceC+FreeDriveSpaceD+FreeDriveSpaceE+FreeDriveSpaceF+FreeDriveSpaceG+FreeDriveSpaceX+FreeDriveSpaceY+FreeDriveSpaceZ)

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[TotalScaleDriveSize]
Measure=Calc
Formula=TotalFreeSpace/#ScaleFactor#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[ScaleSizeDriveC]
Measure=Calc
Formula=(FreeDriveSpaceC/TotalScaleDriveSize)

[ScaleSizeDriveD]
Measure=Calc
Formula=(FreeDriveSpaceD/TotalScaleDriveSize)

[ScaleSizeDriveE]
Measure=Calc
Formula=(FreeDriveSpaceE/TotalScaleDriveSize)

[ScaleSizeDriveF]
Measure=Calc
Formula=(FreeDriveSpaceF/TotalScaleDriveSize)

[ScaleSizeDriveG]
Measure=Calc
Formula=(FreeDriveSpaceG/TotalScaleDriveSize)

[ScaleSizeDriveX]
Measure=Calc
Formula=(FreeDriveSpaceX/TotalScaleDriveSize)

[ScaleSizeDriveY]
Measure=Calc
Formula=(FreeDriveSpaceY/TotalScaleDriveSize)

[ScaleSizeDriveZ]
Measure=Calc
Formula=(FreeDriveSpaceZ/TotalScaleDriveSize)

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[StartAngleC]
Measure=Calc
DynamicVariables=1
Formula=#StartPosition#

[StartAngleD]
Measure=Calc
DynamicVariables=1
Formula=#StartPosition#+ScaleSizeDriveC

[StartAngleE]
Measure=Calc
DynamicVariables=1
Formula=#StartPosition#+ScaleSizeDriveC+ScaleSizeDriveD

[StartAngleF]
Measure=Calc
DynamicVariables=1
Formula=#StartPosition#+ScaleSizeDriveC+ScaleSizeDriveD+ScaleSizeDriveE

[StartAngleG]
Measure=Calc
DynamicVariables=1
Formula=#StartPosition#+ScaleSizeDriveC+ScaleSizeDriveD+ScaleSizeDriveE+ScaleSizeDriveF

[StartAngleX]
Measure=Calc
DynamicVariables=1
Formula=#StartPosition#+ScaleSizeDriveC+ScaleSizeDriveD+ScaleSizeDriveE+ScaleSizeDriveF+ScaleSizeDriveG

[StartAngleY]
Measure=Calc
DynamicVariables=1
Formula=#StartPosition#+ScaleSizeDriveC+ScaleSizeDriveD+ScaleSizeDriveE+ScaleSizeDriveF+ScaleSizeDriveG+ScaleSizeDriveX

[StartAngleZ]
Measure=Calc
DynamicVariables=1
Formula=#StartPosition#+ScaleSizeDriveC+ScaleSizeDriveD+ScaleSizeDriveE+ScaleSizeDriveF+ScaleSizeDriveG+ScaleSizeDriveX+ScaleSizeDriveY

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[FreePercentDriveC]
Measure=Calc
Formula=Round((FreeDriveSpaceC/((TotalDriveSpaceC+1)/100)),2)

[FreePercentDriveD]
Measure=Calc
Formula=Round((FreeDriveSpaceD/((TotalDriveSpaceD+1)/100)),2)

[FreePercentDriveE]
Measure=Calc
Formula=Round((FreeDriveSpaceE/((TotalDriveSpaceE+1)/100)),2)

[FreePercentDriveF]
Measure=Calc
Formula=Round((FreeDriveSpaceF/((TotalDriveSpaceF+1)/100)),2)

[FreePercentDriveG]
Measure=Calc
Formula=Round((FreeDriveSpaceG/((TotalDriveSpaceG+1)/100)),2)

[FreePercentDriveX]
Measure=Calc
Formula=Round((FreeDriveSpaceX/((TotalDriveSpaceX+1)/100)),2)

[FreePercentDriveY]
Measure=Calc
Formula=Round((FreeDriveSpaceY/((TotalDriveSpaceY+1)/100)),2)

[FreePercentDriveZ]
Measure=Calc
Formula=Round((FreeDriveSpaceZ/((TotalDriveSpaceZ+1)/100)),2)

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[FreePercentOfTotalDriveC]
Measure=Calc
Formula=Round((FreeDriveSpaceC/((FreeDriveSpaceC+FreeDriveSpaceD+FreeDriveSpaceE+FreeDriveSpaceF+FreeDriveSpaceG+FreeDriveSpaceX+FreeDriveSpaceY+FreeDriveSpaceZ)/100)),2)

[FreePercentOfTotalDriveD]
Measure=Calc
Formula=Round((FreeDriveSpaceD/((FreeDriveSpaceC+FreeDriveSpaceD+FreeDriveSpaceE+FreeDriveSpaceF+FreeDriveSpaceG+FreeDriveSpaceX+FreeDriveSpaceY+FreeDriveSpaceZ)/100)),2)

[FreePercentOfTotalDriveE]
Measure=Calc
Formula=Round((FreeDriveSpaceE/((FreeDriveSpaceC+FreeDriveSpaceD+FreeDriveSpaceE+FreeDriveSpaceF+FreeDriveSpaceG+FreeDriveSpaceX+FreeDriveSpaceY+FreeDriveSpaceZ)/100)),2)

[FreePercentOfTotalDriveF]
Measure=Calc
Formula=Round((FreeDriveSpaceF/((FreeDriveSpaceC+FreeDriveSpaceD+FreeDriveSpaceE+FreeDriveSpaceF+FreeDriveSpaceG+FreeDriveSpaceX+FreeDriveSpaceY+FreeDriveSpaceZ)/100)),2)

[FreePercentOfTotalDriveG]
Measure=Calc
Formula=Round((FreeDriveSpaceG/((FreeDriveSpaceC+FreeDriveSpaceD+FreeDriveSpaceE+FreeDriveSpaceF+FreeDriveSpaceG+FreeDriveSpaceX+FreeDriveSpaceY+FreeDriveSpaceZ)/100)),2)

[FreePercentOfTotalDriveX]
Measure=Calc
Formula=Round((FreeDriveSpaceX/((FreeDriveSpaceC+FreeDriveSpaceD+FreeDriveSpaceE+FreeDriveSpaceF+FreeDriveSpaceG+FreeDriveSpaceX+FreeDriveSpaceY+FreeDriveSpaceZ)/100)),2)

[FreePercentOfTotalDriveY]
Measure=Calc
Formula=Round((FreeDriveSpaceY/((FreeDriveSpaceC+FreeDriveSpaceD+FreeDriveSpaceE+FreeDriveSpaceF+FreeDriveSpaceG+FreeDriveSpaceX+FreeDriveSpaceY+FreeDriveSpaceZ)/100)),2)

[FreePercentOfTotalDriveZ]
Measure=Calc
Formula=Round((FreeDriveSpaceZ/((FreeDriveSpaceC+FreeDriveSpaceD+FreeDriveSpaceE+FreeDriveSpaceF+FreeDriveSpaceG+FreeDriveSpaceX+FreeDriveSpaceY+FreeDriveSpaceZ)/100)),2)

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[AveragePercentFree]
Measure=Calc
AverageSize=#UpdateAverageSize#
Formula=(FreeDriveSpaceC+FreeDriveSpaceD+FreeDriveSpaceE+FreeDriveSpaceF+FreeDriveSpaceG+FreeDriveSpaceX+FreeDriveSpaceY+FreeDriveSpaceZ)/((TotalDriveSpaceC+TotalDriveSpaceD+TotalDriveSpaceE+TotalDriveSpaceF+TotalDriveSpaceG+TotalDriveSpaceX+TotalDriveSpaceY+TotalDriveSpaceZ)/100)
MinValue=0
MaxValue=100
IfConditionMode=1
IfCondition=(AveragePercentFree < 10)
IfTrueAction=!SetVariable PointerColor #WarningColorA#
IfCondition2=(AveragePercentFree >= 10) && (AveragePercentFree < 25)
IfTrueAction2=!SetVariable PointerColor #WarningColorB#
IfCondition3=(AveragePercentFree >= 25) && (AveragePercentFree < 50)
IfTrueAction3=!SetVariable PointerColor #WarningColorC#
IfCondition4=(AveragePercentFree >= 50) && (AveragePercentFree < 75)
IfTrueAction4=!SetVariable PointerColor #WarningColorD#
IfCondition5=(AveragePercentFree >= 75) && (AveragePercentFree <= 100)
IfTrueAction5=!SetVariable PointerColor #WarningColorE#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[FreeGBDriveC]
Measure=Calc
Formula=Round(FreeDriveSpaceC/1000/1000/1000,3)

[FreeGBDriveD]
Measure=Calc
Formula=Round(FreeDriveSpaceD/1000/1000/1000,3)

[FreeGBDriveE]
Measure=Calc
Formula=Round(FreeDriveSpaceE/1000/1000/1000,3)

[FreeGBDriveF]
Measure=Calc
Formula=Round(FreeDriveSpaceF/1000/1000/1000,3)

[FreeGBDriveG]
Measure=Calc
Formula=Round(FreeDriveSpaceG/1000/1000/1000,3)

[FreeGBDriveX]
Measure=Calc
Formula=Round(FreeDriveSpaceX/1000/1000/1000,3)

[FreeGBDriveY]
Measure=Calc
Formula=Round(FreeDriveSpaceY/1000/1000/1000,3)

[FreeGBDriveZ]
Measure=Calc
Formula=Round(FreeDriveSpaceZ/1000/1000/1000,3)


;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[ColorDriveC]
Measure=Calc
Formula=FreePercentDriveC
IfConditionMode=1
IfCondition=(FreePercentDriveC < 10)
IfTrueAction=!SetVariable ColorValueDriveC #WarningColorA#
IfCondition2=(FreePercentDriveC >= 10) && (FreePercentDriveC < 25)
IfTrueAction2=!SetVariable ColorValueDriveC #WarningColorB#
IfCondition3=(FreePercentDriveC >= 25) && (FreePercentDriveC < 50)
IfTrueAction3=!SetVariable ColorValueDriveC #WarningColorC#
IfCondition4=(FreePercentDriveC >= 50) && (FreePercentDriveC < 75)
IfTrueAction4=!SetVariable ColorValueDriveC #WarningColorD#
IfCondition5=(FreePercentDriveC >= 75) && (FreePercentDriveC <= 100)
IfTrueAction5=!SetVariable ColorValueDriveC #WarningColorE#

[ColorDriveD]
Measure=Calc
Formula=FreePercentDriveD
IfConditionMode=1
IfCondition=(FreePercentDriveD < 10)
IfTrueAction=!SetVariable ColorValueDriveD #WarningColorA#
IfCondition2=(FreePercentDriveD >= 10) && (FreePercentDriveD < 25)
IfTrueAction2=!SetVariable ColorValueDriveD #WarningColorB#
IfCondition3=(FreePercentDriveD >= 25) && (FreePercentDriveD < 50)
IfTrueAction3=!SetVariable ColorValueDriveD #WarningColorC#
IfCondition4=(FreePercentDriveD >= 50) && (FreePercentDriveD < 75)
IfTrueAction4=!SetVariable ColorValueDriveD #WarningColorD#
IfCondition5=(FreePercentDriveD >= 75) && (FreePercentDriveD <= 100)
IfTrueAction5=!SetVariable ColorValueDriveD #WarningColorE#

[ColorDriveE]
Measure=Calc
Formula=FreePercentDriveE
IfConditionMode=1
IfCondition=(FreePercentDriveE < 10)
IfTrueAction=!SetVariable ColorValueDriveE #WarningColorA#
IfCondition2=(FreePercentDriveE >= 10) && (FreePercentDriveE < 25)
IfTrueAction2=!SetVariable ColorValueDriveE #WarningColorB#
IfCondition3=(FreePercentDriveE >= 25) && (FreePercentDriveE < 50)
IfTrueAction3=!SetVariable ColorValueDriveE #WarningColorC#
IfCondition4=(FreePercentDriveE >= 50) && (FreePercentDriveE < 75)
IfTrueAction4=!SetVariable ColorValueDriveE #WarningColorD#
IfCondition5=(FreePercentDriveE >= 75) && (FreePercentDriveE <= 100)
IfTrueAction5=!SetVariable ColorValueDriveE #WarningColorE#

[ColorDriveF]
Measure=Calc
Formula=FreePercentDriveF
IfConditionMode=1
IfCondition=(FreePercentDriveF < 10)
IfTrueAction=!SetVariable ColorValueDriveF #WarningColorA#
IfCondition2=(FreePercentDriveF >= 10) && (FreePercentDriveF < 25)
IfTrueAction2=!SetVariable ColorValueDriveF #WarningColorB#
IfCondition3=(FreePercentDriveF >= 25) && (FreePercentDriveF < 50)
IfTrueAction3=!SetVariable ColorValueDriveF #WarningColorC#
IfCondition4=(FreePercentDriveF >= 50) && (FreePercentDriveF < 75)
IfTrueAction4=!SetVariable ColorValueDriveF #WarningColorD#
IfCondition5=(FreePercentDriveF >= 75) && (FreePercentDriveF <= 100)
IfTrueAction5=!SetVariable ColorValueDriveF #WarningColorE#

[ColorDriveG]
Measure=Calc
Formula=FreePercentDriveG
IfConditionMode=1
IfCondition=(FreePercentDriveG < 10)
IfTrueAction=!SetVariable ColorValueDriveG #WarningColorA#
IfCondition2=(FreePercentDriveG >= 10) && (FreePercentDriveG < 25)
IfTrueAction2=!SetVariable ColorValueDriveG #WarningColorB#
IfCondition3=(FreePercentDriveG >= 25) && (FreePercentDriveG < 50)
IfTrueAction3=!SetVariable ColorValueDriveG #WarningColorC#
IfCondition4=(FreePercentDriveG >= 50) && (FreePercentDriveG < 75)
IfTrueAction4=!SetVariable ColorValueDriveG #WarningColorD#
IfCondition5=(FreePercentDriveG >= 75) && (FreePercentDriveG <= 100)
IfTrueAction5=!SetVariable ColorValueDriveG #WarningColorE#

[ColorDriveX]
Measure=Calc
Formula=FreePercentDriveX
IfConditionMode=1
IfCondition=(FreePercentDriveX < 10)
IfTrueAction=!SetVariable ColorValueDriveX #WarningColorA#
IfCondition2=(FreePercentDriveX >= 10) && (FreePercentDriveX < 25)
IfTrueAction2=!SetVariable ColorValueDriveX #WarningColorB#
IfCondition3=(FreePercentDriveX >= 25) && (FreePercentDriveX < 50)
IfTrueAction3=!SetVariable ColorValueDriveX #WarningColorC#
IfCondition4=(FreePercentDriveX >= 50) && (FreePercentDriveX < 75)
IfTrueAction4=!SetVariable ColorValueDriveX #WarningColorD#
IfCondition5=(FreePercentDriveX >= 75) && (FreePercentDriveX <= 100)
IfTrueAction5=!SetVariable ColorValueDriveX #WarningColorE#

[ColorDriveY]
Measure=Calc
Formula=FreePercentDriveY
IfConditionMode=1
IfCondition=(FreePercentDriveY < 10)
IfTrueAction=!SetVariable ColorValueDriveY #WarningColorA#
IfCondition2=(FreePercentDriveY >= 10) && (FreePercentDriveY < 25)
IfTrueAction2=!SetVariable ColorValueDriveY #WarningColorB#
IfCondition3=(FreePercentDriveY >= 25) && (FreePercentDriveY < 50)
IfTrueAction3=!SetVariable ColorValueDriveY #WarningColorC#
IfCondition4=(FreePercentDriveY >= 50) && (FreePercentDriveY < 75)
IfTrueAction4=!SetVariable ColorValueDriveY #WarningColorD#
IfCondition5=(FreePercentDriveY >= 75) && (FreePercentDriveY <= 100)
IfTrueAction5=!SetVariable ColorValueDriveY #WarningColorE#

[ColorDriveZ]
Measure=Calc
Formula=FreePercentDriveZ
IfConditionMode=1
IfCondition=(FreePercentDriveZ < 10)
IfTrueAction=!SetVariable ColorValueDriveZ #WarningColorA#
IfCondition2=(FreePercentDriveZ >= 10) && (FreePercentDriveZ < 25)
IfTrueAction2=!SetVariable ColorValueDriveZ #WarningColorB#
IfCondition3=(FreePercentDriveZ >= 25) && (FreePercentDriveZ < 50)
IfTrueAction3=!SetVariable ColorValueDriveZ #WarningColorC#
IfCondition4=(FreePercentDriveZ >= 50) && (FreePercentDriveZ < 75)
IfTrueAction4=!SetVariable ColorValueDriveZ #WarningColorD#
IfCondition5=(FreePercentDriveZ >= 75) && (FreePercentDriveZ <= 100)
IfTrueAction5=!SetVariable ColorValueDriveZ #WarningColorE#

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[Line]
Measure=Calc
Formula=100
MinValue=0
MaxValue=100

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[GetDiskReadC]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Read Bytes/sec
PerfMonInstance=#LogicalDriveC#
UpdateDivider=40

[GetDiskWriteC]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Write Bytes/sec
PerfMonInstance=#LogicalDriveC#
UpdateDivider=40

[GetDiskReadD]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Read Bytes/sec
PerfMonInstance=#LogicalDriveD#
UpdateDivider=40

[GetDiskWriteD]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Write Bytes/sec
PerfMonInstance=#LogicalDriveD#
UpdateDivider=40

[GetDiskReadE]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Read Bytes/sec
PerfMonInstance=#LogicalDriveE#
UpdateDivider=40

[GetDiskWriteE]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Write Bytes/sec
PerfMonInstance=#LogicalDriveE#
UpdateDivider=40

[GetDiskReadF]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Read Bytes/sec
PerfMonInstance=#LogicalDriveF#
UpdateDivider=40

[GetDiskWriteF]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Write Bytes/sec
PerfMonInstance=#LogicalDriveF#
UpdateDivider=40

[GetDiskReadG]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Read Bytes/sec
PerfMonInstance=#LogicalDriveG#
UpdateDivider=40

[GetDiskWriteG]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Write Bytes/sec
PerfMonInstance=#LogicalDriveG#
UpdateDivider=40

[GetDiskReadX]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Read Bytes/sec
PerfMonInstance=#LogicalDriveX#
UpdateDivider=40

[GetDiskWriteX]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Write Bytes/sec
PerfMonInstance=#LogicalDriveX#
UpdateDivider=40

[GetDiskReadY]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Read Bytes/sec
PerfMonInstance=#LogicalDriveY#
UpdateDivider=40

[GetDiskWriteY]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Write Bytes/sec
PerfMonInstance=#LogicalDriveY#
UpdateDivider=40

[GetDiskReadZ]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Read Bytes/sec
PerfMonInstance=#LogicalDriveZ#
UpdateDivider=40

[GetDiskWriteZ]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter=Disk Write Bytes/sec
PerfMonInstance=#LogicalDriveZ#
UpdateDivider=40

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[ConversionDiskReadC]
Measure=Calc
Formula=(GetDiskReadC+1)/1024/1024
AverageSize=#UpdateAverageActivitySize#
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=!SetVariable LogicalDriveCReadColor 0,255,150,255
IfBelowValue=0.001
IfBelowAction=!SetVariable LogicalDriveCReadColor 0,0,0,0

[ConversionDiskWriteC]
Measure=Calc
Formula=(GetDiskWriteC+1)/1024/1024
AverageSize=#UpdateAverageActivitySize#
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=!SetVariable LogicalDriveCWriteColor 255,50,50,255
IfBelowValue=0.001
IfBelowAction=!SetVariable LogicalDriveCWriteColor 0,0,0,0

[ConversionDiskReadD]
Measure=Calc
Formula=(GetDiskReadD+1)/1024/1024
AverageSize=#UpdateAverageActivitySize#
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=!SetVariable LogicalDriveDReadColor 0,255,150,255
IfBelowValue=0.001
IfBelowAction=!SetVariable LogicalDriveDReadColor 0,0,0,0

[ConversionDiskWriteD]
Measure=Calc
Formula=(GetDiskWriteD+1)/1024/1024
AverageSize=#UpdateAverageActivitySize#
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=!SetVariable LogicalDriveDWriteColor 255,50,50,255
IfBelowValue=0.001
IfBelowAction=!SetVariable LogicalDriveDWriteColor 0,0,0,0

[ConversionDiskReadE]
Measure=Calc
Formula=(GetDiskReadE+1)/1024/1024
AverageSize=#UpdateAverageActivitySize#
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=!SetVariable LogicalDriveEReadColor 0,255,150,255
IfBelowValue=0.001
IfBelowAction=!SetVariable LogicalDriveEReadColor 0,0,0,0

[ConversionDiskWriteE]
Measure=Calc
Formula=(GetDiskWriteE+1)/1024/1024
AverageSize=#UpdateAverageActivitySize#
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=!SetVariable LogicalDriveEWriteColor 255,50,50,255
IfBelowValue=0.001
IfBelowAction=!SetVariable LogicalDriveEWriteColor 0,0,0,0

[ConversionDiskReadF]
Measure=Calc
Formula=(GetDiskReadF+1)/1024/1024
AverageSize=#UpdateAverageActivitySize#
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=!SetVariable LogicalDriveFReadColor 0,255,150,255
IfBelowValue=0.001
IfBelowAction=!SetVariable LogicalDriveFReadColor 0,0,0,0

[ConversionDiskWriteF]
Measure=Calc
Formula=(GetDiskWriteF+1)/1024/1024
AverageSize=#UpdateAverageActivitySize#
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=!SetVariable LogicalDriveFWriteColor 255,50,50,255
IfBelowValue=0.001
IfBelowAction=!SetVariable LogicalDriveFWriteColor 0,0,0,0

[ConversionDiskReadG]
Measure=Calc
Formula=(GetDiskReadG+1)/1024/1024
AverageSize=#UpdateAverageActivitySize#
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=!SetVariable LogicalDriveGReadColor 0,255,150,255
IfBelowValue=0.001
IfBelowAction=!SetVariable LogicalDriveGReadColor 0,0,0,0

[ConversionDiskWriteG]
Measure=Calc
Formula=(GetDiskWriteG+1)/1024/1024
AverageSize=#UpdateAverageActivitySize#
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=!SetVariable LogicalDriveGWriteColor 255,50,50,255
IfBelowValue=0.001
IfBelowAction=!SetVariable LogicalDriveGWriteColor 0,0,0,0

[ConversionDiskReadX]
Measure=Calc
Formula=(GetDiskReadX+1)/1024/1024
AverageSize=#UpdateAverageActivitySize#
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=!SetVariable LogicalDriveXReadColor 0,255,150,255
IfBelowValue=0.001
IfBelowAction=!SetVariable LogicalDriveXReadColor 0,0,0,0

[ConversionDiskWriteX]
Measure=Calc
Formula=(GetDiskWriteX+1)/1024/1024
AverageSize=#UpdateAverageActivitySize#
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=!SetVariable LogicalDriveXWriteColor 255,50,50,255
IfBelowValue=0.001
IfBelowAction=!SetVariable LogicalDriveXWriteColor 0,0,0,0

[ConversionDiskReadY]
Measure=Calc
Formula=(GetDiskReadY+1)/1024/1024
AverageSize=#UpdateAverageActivitySize#
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=!SetVariable LogicalDriveYReadColor 0,255,150,255
IfBelowValue=0.001
IfBelowAction=!SetVariable LogicalDriveYReadColor 0,0,0,0


[ConversionDiskWriteY]
Measure=Calc
Formula=(GetDiskWriteY+1)/1024/1024
AverageSize=#UpdateAverageActivitySize#
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=!SetVariable LogicalDriveYWriteColor 255,50,50,255
IfBelowValue=0.001
IfBelowAction=!SetVariable LogicalDriveYWriteColor 0,0,0,0

[ConversionDiskReadZ]
Measure=Calc
Formula=(GetDiskReadZ+1)/1024/1024
AverageSize=#UpdateAverageActivitySize#
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=!SetVariable LogicalDriveZReadColor 0,255,150,255
IfBelowValue=0.001
IfBelowAction=!SetVariable LogicalDriveZReadColor 0,0,0,0

[ConversionDiskWriteZ]
Measure=Calc
Formula=(GetDiskWriteZ+1)/1024/1024
AverageSize=#UpdateAverageActivitySize#
DynamicVariables=1
IfAboveValue=0.001
IfAboveAction=!SetVariable LogicalDriveZWriteColor 255,50,50,255
IfBelowValue=0.001
IfBelowAction=!SetVariable LogicalDriveZWriteColor 0,0,0,0

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[TotalLine]
Meter=Roundline
MeasureName=AveragePercentFree
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
H=#BoxSizeH#
W=#BoxSizeW#
StartAngle=(Rad(90))
RotationAngle=(Rad(360))
LineStart=(#LineSize#-11)
LineLength=(#LineSize#-8)
LeftMouseUpAction=!RainmeterRefresh
LineColor=255,255,255,25

[TotalLineFixedPointer]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad(90))
RotationAngle=(Rad(360))
LineStart=(#LineSize#-11)
LineLength=(#LineSize#-8)
LineWidth=2
LineLength=40
LeftMouseUpAction=!RainmeterRefresh
LineColor=255,255,255,255

[TotalLinePointer]
Meter=Roundline
MeasureName=AveragePercentFree
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad(90))
RotationAngle=(Rad(360))
LineStart=(#LineSize#-11)
LineLength=(#LineSize#-8)
LineWidth=4
LineLength=40
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointerColor#

[FreeLogicalDriveC]
Meter=Roundline
MeasureName=TotalDriveSpaceC
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleC]))
RotationAngle=(Rad([ScaleSizeDriveC]))
LineStart=(#LineSize#)
LineLength=(#LineSize#+#LineStartShift#)
LeftMouseUpAction=!RainmeterRefresh
LineColor=#ColorValueDriveC#

[FreeLogicalDriveD]
Meter=Roundline
MeasureName=TotalDriveSpaceD
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleD]))
RotationAngle=(Rad([ScaleSizeDriveD]))
LineStart=(#LineSize#)
LineLength=(#LineSize#+#LineStartShift#)
LeftMouseUpAction=!RainmeterRefresh
LineColor=#ColorValueDriveD#

[FreeLogicalDriveE]
Meter=Roundline
MeasureName=TotalDriveSpaceE
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleE]))
RotationAngle=(Rad([ScaleSizeDriveE]))
LineStart=(#LineSize#)
LineLength=(#LineSize#+#LineStartShift#)
LeftMouseUpAction=!RainmeterRefresh
LineColor=#ColorValueDriveE#

[FreeLogicalDriveF]
Meter=Roundline
MeasureName=TotalDriveSpaceF
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleF]))
RotationAngle=(Rad([ScaleSizeDriveF]))
LineStart=(#LineSize#)
LineLength=(#LineSize#+#LineStartShift#)
LeftMouseUpAction=!RainmeterRefresh
LineColor=#ColorValueDriveF#

[FreeLogicalDriveG]
Meter=Roundline
MeasureName=TotalDriveSpaceG
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleG]))
RotationAngle=(Rad([ScaleSizeDriveG]))
LineStart=(#LineSize#)
LineLength=(#LineSize#+#LineStartShift#)
LeftMouseUpAction=!RainmeterRefresh
LineColor=#ColorValueDriveG#

[FreeLogicalDriveX]
Meter=Roundline
MeasureName=TotalDriveSpaceX
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleX]))
RotationAngle=(Rad([ScaleSizeDriveX]))
LineStart=(#LineSize#)
LineLength=(#LineSize#+#LineStartShift#)
LeftMouseUpAction=!RainmeterRefresh
LineColor=#ColorValueDriveX#

[FreeLogicalDriveY]
Meter=Roundline
MeasureName=TotalDriveSpaceY
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleY]))
RotationAngle=(Rad([ScaleSizeDriveY]))
LineStart=(#LineSize#)
LineLength=(#LineSize#+#LineStartShift#)
LeftMouseUpAction=!RainmeterRefresh
LineColor=#ColorValueDriveY#

[FreeLogicalDriveZ]
Meter=Roundline
MeasureName=TotalDriveSpaceZ
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleZ]))
RotationAngle=(Rad([ScaleSizeDriveZ]))
LineStart=(#LineSize#)
LineLength=(#LineSize#+#LineStartShift#)
LeftMouseUpAction=!RainmeterRefresh
LineColor=#ColorValueDriveZ#
ToolTipText=#LogicalDriveC# [FreeGBDriveC] GB | [FreePercentDriveC] % | [FreePercentOfTotalDriveC] %#CRLF##LogicalDriveD# [FreeGBDriveD] GB | [FreePercentDriveD] % | [FreePercentOfTotalDriveD] %#CRLF##LogicalDriveE# [FreeGBDriveE] GB | [FreePercentDriveE] % | [FreePercentOfTotalDriveE] %#CRLF##LogicalDriveF# [FreeGBDriveF] GB | [FreePercentDriveF] % | [FreePercentOfTotalDriveF] %#CRLF##LogicalDriveG# [FreeGBDriveG] GB | [FreePercentDriveG] % | [FreePercentOfTotalDriveG] %#CRLF##LogicalDriveX# [FreeGBDriveX] GB | [FreePercentDriveX] % | [FreePercentOfTotalDriveX] %#CRLF##LogicalDriveY# [FreeGBDriveY] GB | [FreePercentDriveY] % | [FreePercentOfTotalDriveY] %#CRLF##LogicalDriveZ# [FreeGBDriveZ] GB | [FreePercentDriveZ] % | [FreePercentOfTotalDriveZ] %

[FixedPointerC]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleC]))
RotationAngle=(Rad(0))
LineStart=(#LineSize#+#PointersLineStart#)
LineLength=(#LineSize#+#LineStartShift#+#PointersLineLength#)
LineWidth=#PointersWidth#
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointersColor#

[FixedPointerD]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleD]))
RotationAngle=(Rad(0))
LineStart=(#LineSize#+#PointersLineStart#)
LineLength=(#LineSize#+#LineStartShift#+#PointersLineLength#)
LineWidth=#PointersWidth#
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointersColor#

[FixedPointerE]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleE]))
RotationAngle=(Rad(0))
LineStart=(#LineSize#+#PointersLineStart#)
LineLength=(#LineSize#+#LineStartShift#+#PointersLineLength#)
LineWidth=#PointersWidth#
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointersColor#

[FixedPointerF]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleF]))
RotationAngle=(Rad(0))
LineStart=(#LineSize#+#PointersLineStart#)
LineLength=(#LineSize#+#LineStartShift#+#PointersLineLength#)
LineWidth=#PointersWidth#
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointersColor#

[FixedPointerG]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleG]))
RotationAngle=(Rad(0))
LineStart=(#LineSize#+#PointersLineStart#)
LineLength=(#LineSize#+#LineStartShift#+#PointersLineLength#)
LineWidth=#PointersWidth#
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointersColor#

[FixedPointerX]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleX]))
RotationAngle=(Rad(0))
LineStart=(#LineSize#+#PointersLineStart#)
LineLength=(#LineSize#+#LineStartShift#+#PointersLineLength#)
LineWidth=#PointersWidth#
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointersColor#

[FixedPointerY]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleY]))
RotationAngle=(Rad(0))
LineStart=(#LineSize#+#PointersLineStart#)
LineLength=(#LineSize#+#LineStartShift#+#PointersLineLength#)
LineWidth=#PointersWidth#
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointersColor#

[FixedPointerZ]
Meter=Roundline
DynamicVariables=1
AntiAlias=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleZ]))
RotationAngle=(Rad(0))
LineStart=(#LineSize#+#PointersLineStart#)
LineLength=(#LineSize#+#LineStartShift#+#PointersLineLength#)
LineWidth=#PointersWidth#
LeftMouseUpAction=!RainmeterRefresh
LineColor=#PointersColor#

[FreeGBTotalText]
Meter=String
MeasureName=TotalFreeSpace
AutoScale=2
NumOfDecimals=3
X=(#BoxSizeW#/2)
Y=(#BoxSizeH#/2)
FontFace=Calibri
FontSize=#FontSize#
FontColor=250,250,250,150
StringAlign=CenterCenter
AntiAlias=1

;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[ReadLogicalDriveC]
Meter=Roundline
MeasureName=TotalDriveSpaceC
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleC]+([ScaleSizeDriveC]/4)))
RotationAngle=(Rad([ScaleSizeDriveC]-(([ScaleSizeDriveC]/2))))
LineStart=(#LineSize#)+6
LineLength=(#LineSize#+#LineStartShift#)+5
LeftMouseUpAction=!RainmeterRefresh
LineColor=#LogicalDriveCReadColor#

[WriteLogicalDriveC]
Meter=Roundline
MeasureName=TotalDriveSpaceC
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleC]+([ScaleSizeDriveC]/4)))
RotationAngle=(Rad([ScaleSizeDriveC]-(([ScaleSizeDriveC]/2))))
LineStart=(#LineSize#)-5
LineLength=(#LineSize#+#LineStartShift#)-6
LeftMouseUpAction=!RainmeterRefresh
LineColor=#LogicalDriveCWriteColor#

[ReadLogicalDriveD]
Meter=Roundline
MeasureName=TotalDriveSpaceD
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleD]+([ScaleSizeDriveD]/4)))
RotationAngle=(Rad([ScaleSizeDriveD]-(([ScaleSizeDriveD]/2))))
LineStart=(#LineSize#)+6
LineLength=(#LineSize#+#LineStartShift#)+5
LeftMouseUpAction=!RainmeterRefresh
LineColor=#LogicalDriveDReadColor#

[WriteLogicalDriveD]
Meter=Roundline
MeasureName=TotalDriveSpaceD
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleD]+([ScaleSizeDriveD]/4)))
RotationAngle=(Rad([ScaleSizeDriveD]-(([ScaleSizeDriveD]/2))))
LineStart=(#LineSize#)-5
LineLength=(#LineSize#+#LineStartShift#)-6
LeftMouseUpAction=!RainmeterRefresh
LineColor=#LogicalDriveDWriteColor#

[ReadLogicalDriveE]
Meter=Roundline
MeasureName=TotalDriveSpaceE
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleE]+([ScaleSizeDriveE]/4)))
RotationAngle=(Rad([ScaleSizeDriveE]-(([ScaleSizeDriveE]/2))))
LineStart=(#LineSize#)+6
LineLength=(#LineSize#+#LineStartShift#)+5
LeftMouseUpAction=!RainmeterRefresh
LineColor=#LogicalDriveEReadColor#

[WriteLogicalDriveE]
Meter=Roundline
MeasureName=TotalDriveSpaceE
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleE]+([ScaleSizeDriveE]/4)))
RotationAngle=(Rad([ScaleSizeDriveE]-(([ScaleSizeDriveE]/2))))
LineStart=(#LineSize#)-5
LineLength=(#LineSize#+#LineStartShift#)-6
LeftMouseUpAction=!RainmeterRefresh
LineColor=#LogicalDriveEWriteColor#

[ReadLogicalDriveF]
Meter=Roundline
MeasureName=TotalDriveSpaceF
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleF]+([ScaleSizeDriveF]/4)))
RotationAngle=(Rad([ScaleSizeDriveF]-(([ScaleSizeDriveF]/2))))
LineStart=(#LineSize#)+6
LineLength=(#LineSize#+#LineStartShift#)+5
LeftMouseUpAction=!RainmeterRefresh
LineColor=#LogicalDriveFReadColor#

[WriteLogicalDriveF]
Meter=Roundline
MeasureName=TotalDriveSpaceF
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleF]+([ScaleSizeDriveF]/4)))
RotationAngle=(Rad([ScaleSizeDriveF]-(([ScaleSizeDriveF]/2))))
LineStart=(#LineSize#)-5
LineLength=(#LineSize#+#LineStartShift#)-6
LeftMouseUpAction=!RainmeterRefresh
LineColor=#LogicalDriveFWriteColor#

[ReadLogicalDriveG]
Meter=Roundline
MeasureName=TotalDriveSpaceG
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleG]+([ScaleSizeDriveG]/4)))
RotationAngle=(Rad([ScaleSizeDriveG]-(([ScaleSizeDriveG]/2))))
LineStart=(#LineSize#)+6
LineLength=(#LineSize#+#LineStartShift#)+5
LeftMouseUpAction=!RainmeterRefresh
LineColor=#LogicalDriveGReadColor#

[WriteLogicalDriveG]
Meter=Roundline
MeasureName=TotalDriveSpaceG
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleG]+([ScaleSizeDriveG]/4)))
RotationAngle=(Rad([ScaleSizeDriveG]-(([ScaleSizeDriveG]/2))))
LineStart=(#LineSize#)-5
LineLength=(#LineSize#+#LineStartShift#)-6
LeftMouseUpAction=!RainmeterRefresh
LineColor=#LogicalDriveGWriteColor#

[ReadLogicalDriveX]
Meter=Roundline
MeasureName=TotalDriveSpaceX
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleX]+([ScaleSizeDriveX]/4)))
RotationAngle=(Rad([ScaleSizeDriveX]-(([ScaleSizeDriveX]/2))))
LineStart=(#LineSize#)+6
LineLength=(#LineSize#+#LineStartShift#)+5
LeftMouseUpAction=!RainmeterRefresh
LineColor=#LogicalDriveXReadColor#

[WriteLogicalDriveX]
Meter=Roundline
MeasureName=TotalDriveSpaceX
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleX]+([ScaleSizeDriveX]/4)))
RotationAngle=(Rad([ScaleSizeDriveX]-(([ScaleSizeDriveX]/2))))
LineStart=(#LineSize#)-5
LineLength=(#LineSize#+#LineStartShift#)-6
LeftMouseUpAction=!RainmeterRefresh
LineColor=#LogicalDriveXWriteColor#

[ReadLogicalDriveY]
Meter=Roundline
MeasureName=TotalDriveSpaceY
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleY]+([ScaleSizeDriveY]/4)))
RotationAngle=(Rad([ScaleSizeDriveY]-(([ScaleSizeDriveY]/2))))
LineStart=(#LineSize#)+6
LineLength=(#LineSize#+#LineStartShift#)+5
LeftMouseUpAction=!RainmeterRefresh
LineColor=#LogicalDriveYReadColor#

[WriteLogicalDriveY]
Meter=Roundline
MeasureName=TotalDriveSpaceY
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleY]+([ScaleSizeDriveY]/4)))
RotationAngle=(Rad([ScaleSizeDriveY]-(([ScaleSizeDriveY]/2))))
LineStart=(#LineSize#)-5
LineLength=(#LineSize#+#LineStartShift#)-6
LeftMouseUpAction=!RainmeterRefresh
LineColor=#LogicalDriveYWriteColor#

[ReadLogicalDriveZ]
Meter=Roundline
MeasureName=TotalDriveSpaceZ
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleZ]+([ScaleSizeDriveZ]/4)))
RotationAngle=(Rad([ScaleSizeDriveZ]-(([ScaleSizeDriveZ]/2))))
LineStart=(#LineSize#)+6
LineLength=(#LineSize#+#LineStartShift#)+5
LeftMouseUpAction=!RainmeterRefresh
LineColor=#LogicalDriveZReadColor#

[WriteLogicalDriveZ]
Meter=Roundline
MeasureName=TotalDriveSpaceZ
DynamicVariables=1
AntiAlias=1
Solid=1
X=0
Y=0
W=#BoxSizeW#
H=#BoxSizeH#
StartAngle=(Rad([StartAngleZ]+([ScaleSizeDriveZ]/4)))
RotationAngle=(Rad([ScaleSizeDriveZ]-(([ScaleSizeDriveZ]/2))))
LineStart=(#LineSize#)-5
LineLength=(#LineSize#+#LineStartShift#)-6
LeftMouseUpAction=!RainmeterRefresh
LineColor=#LogicalDriveZWriteColor#
You do not have the required permissions to view the files attached to this post.
Last edited by Craft on November 30th, 2018, 11:24 am, edited 3 times in total.
User avatar
balala
Rainmeter Sage
Posts: 7155
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Roundline HDD Meter V5

balala » November 30th, 2018, 9:57 am

Craft wrote:
November 30th, 2018, 7:51 am
Now skin have R/W indicators for each disk.
Looking good.
Just a few comments related to the code:
  • Does it worth to have a such small Update value? I couldn't discover something which would justify it (I hope I didn't miss something).
  • The IfConditionMode=1 options used on the [AveragePercentFree], respectively [ColorDriveC] - [ColorDriveZ] measures are useless, as far as I can tell. I removed them.
  • Although they are working even as you've posted them, would be a good habbit to get used to quote the variables set through !SetVariable or !SetOption bangs (like WarningColorX, LogicalDriveXReadColor or LogicalDriveXWriteColor), especially if those variables are strings (like these ones, which are color codes. To get used to ALWAYS quote the set values, even if they are plain numbers (not the case this time), is a good practice and helps the users to form a good habit, which at a given moment will help. The quotes are ABSOLUTELY required if the values set through these bangs contain spaces. Some details: https://forum.rainmeter.net/viewtopic.php?f=5&t=24426&p=129570&hilit=quote+setoption+balala#p129570
  • Also seems a good practice to add an UpdateDivider=-1 option to both measures and meters, which are static. Like the [Line] measure of your code.
  • If the skin doesn't have a background, I always add the following two options to the [Rainmeter] section:

    Code: Select all

    [Rainmeter]
    ...
    BackgroundMode=2
    SolidColor=0,0,0,1
    These options create an invisible background, which if needed will react to mouse click.
Craft
Posts: 21
Joined: August 3rd, 2017, 6:00 pm

Re: Roundline HDD Meter V5

Craft » November 30th, 2018, 11:21 am

balala wrote:
November 30th, 2018, 9:57 am
Looking good.
Just a few comments related to the code:
  • Does it worth to have a such small Update value? I couldn't discover something which would justify it (I hope I didn't miss something).
  • The IfConditionMode=1 options used on the [AveragePercentFree], respectively [ColorDriveC] - [ColorDriveZ] measures are useless, as far as I can tell. I removed them.
  • Although they are working even as you've posted them, would be a good habbit to get used to quote the variables set through !SetVariable or !SetOption bangs (like WarningColorX, LogicalDriveXReadColor or LogicalDriveXWriteColor), especially if those variables are strings (like these ones, which are color codes. To get used to ALWAYS quote the set values, even if they are plain numbers (not the case this time), is a good practice and helps the users to form a good habit, which at a given moment will help. The quotes are ABSOLUTELY required if the values set through these bangs contain spaces. Some details: https://forum.rainmeter.net/viewtopic.php?f=5&t=24426&p=129570&hilit=quote+setoption+balala#p129570
  • Also seems a good practice to add an UpdateDivider=-1 option to both measures and meters, which are static. Like the [Line] measure of your code.
  • If the skin doesn't have a background, I always add the following two options to the [Rainmeter] section:

    Code: Select all

    [Rainmeter]
    ...
    BackgroundMode=2
    SolidColor=0,0,0,1
    These options create an invisible background, which if needed will react to mouse click.



Thanks for feedback, this is my first widget...)
User avatar
balala
Rainmeter Sage
Posts: 7155
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Roundline HDD Meter V5

balala » November 30th, 2018, 11:33 am

Craft wrote:
November 30th, 2018, 11:21 am
Thanks for feedback, this is my first widget...)
No, in fact it's not your first widget, it's your first skin. That's exactly why I've posted those comments. And congratulations by the way, as I said, it looks good.
Craft
Posts: 21
Joined: August 3rd, 2017, 6:00 pm

Re: Roundline HDD Meter V5

Craft » November 30th, 2018, 12:02 pm

balala wrote:
November 30th, 2018, 11:33 am
No, in fact it's not your first widget, it's your first skin. That's exactly why I've posted those comments. And congratulations by the way, as I said, it looks good.

Thanks!