It is currently April 19th, 2024, 3:07 pm

Extra Homework With System Tutorial Help

General topics related to Rainmeter.
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Extra Homework With System Tutorial Help

Post by balala »

H8z2Hux wrote: I've been trying to use the "IfConditions" bang for my C:/D: button, so when its above 80% the CPU3 (Green % Circle) changes colour, But I don't know if I was spelling it all wrong or if I had it in the wrong place or what :confused:
can you give me an example on how it would look please
Try to add the following measure to your code:

Code: Select all

[MeasureDrivePercent]
Measure=Calc
Formula=( 100 * MeasureDriveUsed / MeasureDriveTotal )
IfCondition=(MeasureDrivePercent>80)
IfTrueAction=[!SetOption MeterDriveCircle LineColor "#Red#"]
IfFalseAction=[!SetOption MeterDriveCircle LineColor "#Green#"]
This measure calculates the percentage of the occupied space on the appropriate drive. If this is more then 80%, the IfCondition is met, so the IfTrueAction option sets the color of the [MeterDriveCircle] meter to #Red#. Otherwise, the bang of the IfFalseAction option sets the color of the meter to #Green#. Obviously you can change the used colors or the 80% in the IfCondition option.
But this isn't enough, because if you do this, the colors set above will be kept only while you're hovering the mouse over the roundline meter. To avoid this, remove the [!SetOption MeterDriveCircle LineColor "#Gold#"] and [!SetOption MeterDriveCircle LineColor "#Green#"] bangs from the MouseOverAction respectively MouseLeaveAction options of the [Button2] meter.
H8z2Hux wrote:And also Whenever I refresh the skin the top green circle disappears until I put my mouse over it, this only just started happening when I tried doing stuff to all those [!UpdateMeter *] so I thought id just leave them as they were the first way I had them but they never changed back :confused:
No, it doesn't disappear, just it's covered by the [RAM4] meter. Then, when you're hovering the mouse over it and leave it, the [RAM4] is hidden and the [CPU3] meter become visible. To fix this, just add a Hidden=1 option to the [RAM4], same way as you did on meter [RAM3].
User avatar
H8z2Hux
Posts: 10
Joined: January 28th, 2017, 10:14 am

Re: Extra Homework With System Tutorial Help

Post by H8z2Hux »

aaahh I see, I had the bottom 3 lines right when I was trying it out but I never had "measure=Calc" and the "Formula=( 100 * MeasureDriveUsed / MeasureDriveTotal )" in there. :D
And sorry about that RAM4 question man I should have spotted that one myself :confused: DUMB ASS :?

Thanks Balala you rock man :thumbup: 8-) :thumbup:
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Extra Homework With System Tutorial Help

Post by balala »

H8z2Hux wrote:aaahh I see, I had the bottom 3 lines right when I was trying it out but I never had "measure=Calc" and the "Formula=( 100 * MeasureDriveUsed / MeasureDriveTotal )" in there. :D
And sorry about that RAM4 question man I should have spotted that one myself :confused: DUMB ASS :?

Thanks Balala you rock man :thumbup: 8-) :thumbup:
You're welcome.
Just one more observation about your last posted code: the IfAboveValue / IfAboveAction respectively IfBelowValue / IfBelowAction options of the [measureRAM] measure are all wrong: you've used an 1 in the names of these options: eg: IfAbove[color=#FF0000]1[/color]Value=49 should be IfAboveValue=49. Remove these extra numbers, from those option names. With them, those options are ignored.
User avatar
H8z2Hux
Posts: 10
Joined: January 28th, 2017, 10:14 am

Re: Extra Homework With System Tutorial Help

Post by H8z2Hux »

oh yes about that I removed all the 1 out of them and remembered I was having a problem in there somewhere,
its kinda works but even if my RAM is only at 30% Its still all red as if it was above 50% am I missing something in there somwere :???:
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Extra Homework With System Tutorial Help

Post by balala »

H8z2Hux wrote:oh yes about that I removed all the 1 out of them and remembered I was having a problem in there somewhere,
its kinda works but even if my RAM is only at 30% Its still all red as if it was above 50% am I missing something in there somwere :???:
The problem is that the [measureRAM] measure returns the amount of used memory, not the percent of the used memory. So, you'll get a value around a few GB (depending on the installed memory). Compared with 50, this is always much greater, so always the IfAboveAction will be executed.
To fix this, you can modify the IfBelowValue / IfAboveValue options, or better you could ask Rainmeter to calculate the percentage of used memory. For this add the following measures:

Code: Select all

[measureRAMTotal]
Measure=PhysicalMemory
Total=1

[measureRAMPercent]
Measure=Calc
Formula=( 100 * measureRAM / measureRAMTotal )
Then move the IfAboveValue, IfAboveAction, IfBelowValue and IfBelowAction options of the [measureRAM] measure to the [measureRAMPercent] measure:

Code: Select all

[measureRAMPercent]
Measure=Calc
Formula=( 100 * measureRAM / measureRAMTotal )
IfAboveValue=49
IfAboveAction=[!SetOption RAM1 FontColor "#Red#"][!SetOption RAM2 SolidColor "#Red#"][!UpdateMeter *][!Redraw]
IfBelowValue=50
IfBelowAction=[!SetOption RAM1 FontColor "#Black#"][!SetOption RAM2 SolidColor "#White#"][!UpdateMeter *][!Redraw]
Just note that instead of the IfAction options, I recommend all to use the IfConditions. Using them, your conditions would look like:

Code: Select all

[measureRAMPercent]
Measure=Calc
Formula=( 100 * measureRAM / measureRAMTotal )
IfConditionValue=(measureRAMPercent>=50)
IfTrueAction=[!SetOption RAM1 FontColor "#Red#"][!SetOption RAM2 SolidColor "#Red#"][!UpdateMeter *][!Redraw]
IfFalseAction=[!SetOption RAM1 FontColor "#Black#"][!SetOption RAM2 SolidColor "#White#"][!UpdateMeter *][!Redraw]
The IfCondition is a much more versatile option, having a lot of advantages.
User avatar
H8z2Hux
Posts: 10
Joined: January 28th, 2017, 10:14 am

Re: Extra Homework With System Tutorial Help

Post by H8z2Hux »

WOW its so obvious of course. I tried using every other measure (RAM total, RAM Free & RAM used) but not once did I think about using the "RAM percentage" :? STUPID :?

Thanks Balala Big Thanks & Praises to you :bow: :rosegift: :bow:
I could never have done that without you, and I think you'll be glad to hear that that's finally finished
...I think....YAAAY :D :D :D

So without further or due here it is :D :) :D

Code: Select all

[Rainmeter]
Update=1000

///////////////////////////////////////////////////////////////
BACKGROUND
///////////////////////////////////////////////////////////////

[MeterBackground]
Meter=Shape
X=0
Y=0
Shape=Rectangle 2,2,190,150,40,20 | Extend MyModifiers1
MyModifiers1=Fill Color 139,0,139,200| StrokeWidth 4 | Stroke Color 46,115,31,255


///////////////////////////////////////////////////////////////
VARIABLES
//////////////////////////////////////////////////////////////

[Variables]
White=255,255,255,100
Grey=207,224,255,255
LightRed=250,148,135,255
Red=255,10,10,225
Green=28,118,23,225
Black=0,0,0,225
Gold=155,115,0,255
CurrentDrive=C:
Drive1=C:
Drive2=D:
ShowRAM=[!HideMeter CPU0][!ShowMeter RAM0][!HideMeter CPU1][!ShowMeter RAM1][!HideMeter CPU2][!ShowMeter RAM2][!Redraw]
ShowCPU=[!HideMeter RAM0][!ShowMeter CPU0][!HideMeter RAM1][!ShowMeter CPU1][!HideMeter RAM2][!ShowMeter CPU2][!Redraw]
ShowRAM2=[!HideMeter CPU3][!ShowMeter RAM3][!HideMeter CPU4][!ShowMeter RAM4][!Redraw]
ShowCPU2=[!HideMeter RAM3][!ShowMeter CPU3][!HideMeter RAM4][!ShowMeter CPU4][!Redraw]

//////////////////////////////////////////////////////////////
MEASURES
//////////////////////////////////////////////////////////////

[MeasureDrivePercent]
Measure=Calc
Formula=( 100 * MeasureDriveUsed / MeasureDriveTotal )
IfCondition=(MeasureDrivePercent>80)
IfTrueAction=[!SetOption MeterDriveCircle LineColor "#Red#"][!SetOption MeterDriveBack SolidColor "#Red#"]
IfFalseAction=[!SetOption MeterDriveCircle LineColor "#Gold#"][!SetOption MeterDriveBack SolidColor "#White#"]


[MeasureCPU]
Measure=CPU
IfAboveValue=29
IfAboveAction=[!SetOption CPU1 FontColor #Red#][!SetOption CPU2 SolidColor #Red#][!SetOption CPU3 LineColor #Red#][!UpdateMeter *][!Redraw]
IfBelowValue=30
IfBelowAction=[!SetOption CPU1 FontColor #Black#][!SetOption CPU2 SolidColor #White#][!SetOption CPU3 LineColor #Green#][!UpdateMeter *][!Redraw]

[MeasureDriveTotal]
Measure=FreeDiskSpace
Drive=#CurrentDrive#
Total=1
IgnoreRemovable=0
DynamicVariables=1
UpdateDivider=-1

[MeasureDriveFree]
Measure=FreeDiskSpace
Drive=#CurrentDrive#
IgnoreRemovable=0
DynamicVariables=1
UpdateDivider=5

[MeasureDriveUsed]
Measure=FreeDiskSpace
Drive=#CurrentDrive#
InvertMeasure=1
IgnoreRemovable=0
DynamicVariables=1
UpdateDivider=5

[MeasureRAM]
Measure=PhysicalMemory
UpdateDivider=5

[MeasureRAMTotal]
Measure=PhysicalMemory
Total=1

[MeasureRAMPercent]
Measure=Calc
Formula=( 100 * MeasureRAM / MeasureRAMTotal )
IfConditionValue=(measureRAMPercent>=50)
IfTrueAction=[!SetOption RAM1 FontColor "#Red#"][!SetOption RAM2 SolidColor "#Red#"][!SetOption RAM3 LineColor #Red#][!UpdateMeter *][!Redraw]
IfFalseAction=[!SetOption RAM1 FontColor "#Black#"][!SetOption RAM2 SolidColor "#White#"][!SetOption RAM3 LineColor #Gold#][!UpdateMeter *][!Redraw]

//////////////////////////////////////////////////////////////
Button
//////////////////////////////////////////////////////////////

[Button1]
Meter=button
ButtonImage=#@#Images\Button.png
ButtonCommand=["Task Manager"]
W=38
H=38
X=9
Y=42
MouseOverAction=#ShowRAM##ShowRAM2#[!UpdateMeter *][!Redraw]
MouseLeaveAction=#ShowCPU##ShowCPU2#[!UpdateMeter *][!Redraw]
ToolTipText=Open Task Manager

[Button2]
Meter=button
ButtonImage=#@#Images\Button.png
ButtonCommand=["Explorer.exe"]
W=38
H=38
X=9
Y=98
MouseOverAction=[!SetVariable CurrentDrive #Drive2#][!SetOption MeterDriveCircle LineColor "#Gold#"][!UpdateMeasure *][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetVariable CurrentDrive #Drive1#][!SetOption MeterDriveCircle LineColor "#Green#"][!UpdateMeasure *][!UpdateMeter *][!Redraw]
ToolTipText=Open Explorer

/////////////////////////////////////////////////////////////
Title
/////////////////////////////////////////////////////////////

[MeterTitle]
Meter=String
StringAlign=Center
X=100
Y=8
FontFace=
Fontsize=12
Fontcolor=#Gold#
StringStyle=Bold
AntiAlias=1
Text=SYSTEM
SolidColor=0,0,0,0

//////////////////////////////////////////////////////////////
CPU METERS
//////////////////////////////////////////////////////////////

[CPU4]
  ;CircleBack
Meter=Roundline
X=8
Y=40
W=40
H=40
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=15
LineLength=20
Solid=1
LineColor=#Black#
AntiAlias=1

[CPU3]
  ;Circle
Meter=Roundline
MeasureName=MeasureCPU
X=0r
Y=40
W=40
H=40
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=15
LineLength=20
Solid=1
LineColor=#Green#
AntiAlias=1

[CPU1]
  ;Percent
Meter=String
MeasureName=MeasureCPU
FontFace=Segoe UI
FontSize=8
FontColor=#Black#
X=29
Y=60
StringAlign=CenterCenter
StringStyle=Bold
AntiAlias=1
Text=%1%
Percentual=1

[CPU2]
  ;Line
Meter=Line
MeasureName=MeasureCPU
X=51
Y=40
W=130
H=38
LineCount=1
LineColor=#Gold#
LineWidth=1
HorizontalLines=1
HorizontalLineColor=#Black#
SolidColor=#White#

[CPU0] 
  ;Text
Meter=String
FontFace=Segoe UI
FontSize=15
FontColor=#Gold#
X=48
Y=35
StringStyle=Bold
AntiAlias=1
Text=CPU

//////////////////////////////////////////////////////////////
RAM METERS
//////////////////////////////////////////////////////////////

[RAM4]
  ;CircleBack
Meter=Roundline
X=8
Y=40
W=40
H=40
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=15
LineLength=20
Solid=1
LineColor=#Black#
AntiAlias=1
Hidden=1

[RAM3]
  ;Circle
Meter=Roundline
MeasureName=MeasureRAM
X=8
Y=40
W=40
H=40
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=15
LineLength=20
Solid=1
LineColor=#Gold#
AntiAlias=1
Hidden=1

[RAM1]
  ;Percent
Meter=String
MeasureName=MeasureRAM
FontFace=Segoe UI
FontSize=8
FontColor=#Black#
X=29
Y=60
StringAlign=CenterCenter
StringStyle=Bold
AntiAlias=1
Text=%1%
Percentual=1
Hidden=1

[RAM2]
  ;Line
Meter=Line
MeasureName=MeasureRAM
X=51
Y=40
W=130
H=38
LineCount=1
LineColor=#Gold#
LineWidth=1
HorizontalLines=1
HorizontalLineColor=#Black#
SolidColor=#White#
Hidden=1

[RAM0]
  ;Text
Meter=String
FontFace=Segoe UI
FontSize=15
FontColor=#Gold#
X=48
Y=35
StringStyle=Bold
AntiAlias=1
Text=RAM
Hidden=1

//////////////////////////////////////////////////////////////
DRIVER METERS
//////////////////////////////////////////////////////////////

[MeterDriveCircleBack]
Meter=Roundline
X=8
Y=95
W=40
H=40
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=15
LineLength=20
Solid=1
LineColor=#Black#
AntiAlias=1

[MeterDriveCircle] 
Meter=Roundline
MeasureName=MeasureDriveUsed
X=8
Y=95
W=40
H=40
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=15
LineLength=20
Solid=1
LineColor=#Green#
AntiAlias=1

[MeterDriveCircleLabel]
Meter=String
FontFace=Segoe UI
FontSize=10
FontColor=#Black#
X=29
Y=115
StringAlign=CenterCenter
StringStyle=Bold
Percentual=1
AntiAlias=1
DynamicVariables=1
Text=#CurrentDrive#


[MeterDriveBack]
Meter=Image
X=51
Y=98
W=130
H=38
SolidColor=White


[MeterDriveTotalLabel]
Meter=String
FontFace=Segoe UI
FontSize=11
FontColor=#Gold#
X=53
Y=96
StringStyle=Bold
StringAlign=Left
AutoScale=1
AntiAlias=1
Text=Total:

[MeterDriveTotal]
Meter=String
MeasureName=MeasureDriveTotal
FontFace=Segoe UI
FontSize=11
FontColor=#Gold#
X=183
Y=96
StringStyle=Bold
StringAlign=Right
AutoScale=1
AntiAlias=1
Text=%1B

[MeterDriveFreeLabel]
Meter=String
FontFace=Segoe UI
FontSize=11
FontColor=#Gold#
X=53
Y=113
W=130
H=18
ClipString=1
StringStyle=Bold
AutoScale=1
AntiAlias=1
Text=Free:

[MeterDriveFree]
Meter=String
MeasureName=MeasureDriveFree
FontFace=Segoe UI
FontSize=11
FontColor=#Gold#
X=183
Y=113
StringStyle=Bold
StringAlign=Right
AutoScale=1
AntiAlias=1
Text=%1B
Last edited by Brian on February 6th, 2017, 3:51 am, edited 1 time in total.
Reason: Please use [code] tags.
User avatar
H8z2Hux
Posts: 10
Joined: January 28th, 2017, 10:14 am

Re: Extra Homework With System Tutorial Help

Post by H8z2Hux »

:o oops I lied :o That ones no good the task manager button and the c: circle are all broken on that 1 :lol:

This one should work properly though...yaay...

Code: Select all

[Rainmeter]
Update=1000

///////////////////////////////////////////////////////////////
BACKGROUND
///////////////////////////////////////////////////////////////

[MeterBackground]
Meter=Shape
X=0
Y=0
Shape=Rectangle 2,2,190,150,40,20 | Extend MyModifiers1
MyModifiers1=Fill Color 139,0,139,200| StrokeWidth 4 | Stroke Color 46,115,31,255


///////////////////////////////////////////////////////////////
VARIABLES
//////////////////////////////////////////////////////////////

[Variables]
White=255,255,255,100
Grey=207,224,255,255
LightRed=250,148,135,255
Red=255,10,10,225
Green=28,118,23,225
Black=0,0,0,225
Gold=155,115,0,255
CurrentDrive=C:
Drive1=C:
Drive2=D:
ShowRAM=[!HideMeter CPU0][!ShowMeter RAM0][!HideMeter CPU1][!ShowMeter RAM1][!HideMeter CPU2][!ShowMeter RAM2][!Redraw]
ShowCPU=[!HideMeter RAM0][!ShowMeter CPU0][!HideMeter RAM1][!ShowMeter CPU1][!HideMeter RAM2][!ShowMeter CPU2][!Redraw]
ShowRAM2=[!HideMeter CPU3][!ShowMeter RAM3][!HideMeter CPU4][!ShowMeter RAM4][!Redraw]
ShowCPU2=[!HideMeter RAM3][!ShowMeter CPU3][!HideMeter RAM4][!ShowMeter CPU4][!Redraw]

//////////////////////////////////////////////////////////////
MEASURES
//////////////////////////////////////////////////////////////

[MeasureDrivePercent]
Measure=Calc
Formula=( 100 * MeasureDriveUsed / MeasureDriveTotal )
IfCondition=(MeasureDrivePercent>80)
IfTrueAction=[!SetOption MeterDriveCircle LineColor "#Red#"][!SetOption MeterDriveBack SolidColor "#Red#"]
IfFalseAction=[!SetOption MeterDriveCircle LineColor "#Green#"][!SetOption MeterDriveBack SolidColor "#White#"]


[MeasureCPU]
Measure=CPU
IfAboveValue=29
IfAboveAction=[!SetOption CPU1 FontColor #Red#][!SetOption CPU2 SolidColor #Red#][!SetOption CPU3 LineColor #Red#][!UpdateMeter *][!Redraw]
IfBelowValue=30
IfBelowAction=[!SetOption CPU1 FontColor #Black#][!SetOption CPU2 SolidColor #White#][!SetOption CPU3 LineColor #Green#][!UpdateMeter *][!Redraw]

[MeasureDriveTotal]
Measure=FreeDiskSpace
Drive=#CurrentDrive#
Total=1
IgnoreRemovable=0
DynamicVariables=1
UpdateDivider=-1

[MeasureDriveFree]
Measure=FreeDiskSpace
Drive=#CurrentDrive#
IgnoreRemovable=0
DynamicVariables=1
UpdateDivider=5

[MeasureDriveUsed]
Measure=FreeDiskSpace
Drive=#CurrentDrive#
InvertMeasure=1
IgnoreRemovable=0
DynamicVariables=1
UpdateDivider=5

[MeasureRAM]
Measure=PhysicalMemory
UpdateDivider=5

[MeasureRAMTotal]
Measure=PhysicalMemory
Total=1

[MeasureRAMPercent]
Measure=Calc
Formula=( 100 * MeasureRAM / MeasureRAMTotal )
IfConditionValue=(measureRAMPercent>=50)
IfTrueAction=[!SetOption RAM1 FontColor "#Red#"][!SetOption RAM2 SolidColor "#Red#"][!SetOption RAM3 LineColor #Red#][!UpdateMeter *][!Redraw]
IfFalseAction=[!SetOption RAM1 FontColor "#Black#"][!SetOption RAM2 SolidColor "#White#"][!SetOption RAM3 LineColor #Gold#][!UpdateMeter *][!Redraw]

//////////////////////////////////////////////////////////////
Button
//////////////////////////////////////////////////////////////

[Button1]
Meter=button
ButtonImage=#@#Images\Button.png
ButtonCommand=["taskmgr.exe"]
W=38
H=38
X=9
Y=42
MouseOverAction=#ShowRAM##ShowRAM2#[!UpdateMeter *][!Redraw]
MouseLeaveAction=#ShowCPU##ShowCPU2#[!UpdateMeter *][!Redraw]
ToolTipText=Open Task Manager

[Button2]
Meter=button
ButtonImage=#@#Images\Button.png
ButtonCommand=["Explorer.exe"]
W=38
H=38
X=9
Y=98
MouseOverAction=[!SetVariable CurrentDrive #Drive2#][!SetOption MeterDriveCircle LineColor "#Gold#"][!UpdateMeasure *][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetVariable CurrentDrive #Drive1#][!SetOption MeterDriveCircle LineColor "#Green#"][!UpdateMeasure *][!UpdateMeter *][!Redraw]
ToolTipText=Open Explorer

/////////////////////////////////////////////////////////////
Title
/////////////////////////////////////////////////////////////

[MeterTitle]
Meter=String
StringAlign=Center
X=100
Y=8
FontFace=
Fontsize=12
Fontcolor=#Gold#
StringStyle=Bold
AntiAlias=1
Text=SYSTEM
SolidColor=0,0,0,0

//////////////////////////////////////////////////////////////
CPU METERS
//////////////////////////////////////////////////////////////

[CPU4]
  ;CircleBack
Meter=Roundline
X=8
Y=40
W=40
H=40
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=15
LineLength=20
Solid=1
LineColor=#Black#
AntiAlias=1

[CPU3]
  ;Circle
Meter=Roundline
MeasureName=MeasureCPU
X=0r
Y=40
W=40
H=40
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=15
LineLength=20
Solid=1
LineColor=#Green#
AntiAlias=1

[CPU1]
  ;Percent
Meter=String
MeasureName=MeasureCPU
FontFace=Segoe UI
FontSize=8
FontColor=#Black#
X=29
Y=60
StringAlign=CenterCenter
StringStyle=Bold
AntiAlias=1
Text=%1%
Percentual=1

[CPU2]
  ;Line
Meter=Line
MeasureName=MeasureCPU
X=51
Y=40
W=130
H=38
LineCount=1
LineColor=#Gold#
LineWidth=1
HorizontalLines=1
HorizontalLineColor=#Black#
SolidColor=#White#

[CPU0] 
  ;Text
Meter=String
FontFace=Segoe UI
FontSize=15
FontColor=#Gold#
X=48
Y=35
StringStyle=Bold
AntiAlias=1
Text=CPU

//////////////////////////////////////////////////////////////
RAM METERS
//////////////////////////////////////////////////////////////

[RAM4]
  ;CircleBack
Meter=Roundline
X=8
Y=40
W=40
H=40
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=15
LineLength=20
Solid=1
LineColor=#Black#
AntiAlias=1
Hidden=1

[RAM3]
  ;Circle
Meter=Roundline
MeasureName=MeasureRAM
X=8
Y=40
W=40
H=40
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=15
LineLength=20
Solid=1
LineColor=#Gold#
AntiAlias=1
Hidden=1

[RAM1]
  ;Percent
Meter=String
MeasureName=MeasureRAM
FontFace=Segoe UI
FontSize=8
FontColor=#Black#
X=29
Y=60
StringAlign=CenterCenter
StringStyle=Bold
AntiAlias=1
Text=%1%
Percentual=1
Hidden=1

[RAM2]
  ;Line
Meter=Line
MeasureName=MeasureRAM
X=51
Y=40
W=130
H=38
LineCount=1
LineColor=#Gold#
LineWidth=1
HorizontalLines=1
HorizontalLineColor=#Black#
SolidColor=#White#
Hidden=1

[RAM0]
  ;Text
Meter=String
FontFace=Segoe UI
FontSize=15
FontColor=#Gold#
X=48
Y=35
StringStyle=Bold
AntiAlias=1
Text=RAM
Hidden=1

//////////////////////////////////////////////////////////////
DRIVER METERS
//////////////////////////////////////////////////////////////

[MeterDriveCircleBack]
Meter=Roundline
X=8
Y=95
W=40
H=40
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=15
LineLength=20
Solid=1
LineColor=#Black#
AntiAlias=1

[MeterDriveCircle] 
Meter=Roundline
MeasureName=MeasureDriveUsed
X=8
Y=95
W=40
H=40
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=15
LineLength=20
Solid=1
LineColor=#Green#
AntiAlias=1

[MeterDriveCircleLabel]
Meter=String
FontFace=Segoe UI
FontSize=10
FontColor=#Black#
X=29
Y=115
StringAlign=CenterCenter
StringStyle=Bold
Percentual=1
AntiAlias=1
DynamicVariables=1
Text=#CurrentDrive#


[MeterDriveBack]
Meter=Image
X=51
Y=98
W=130
H=38
SolidColor=White


[MeterDriveTotalLabel]
Meter=String
FontFace=Segoe UI
FontSize=11
FontColor=#Gold#
X=53
Y=96
StringStyle=Bold
StringAlign=Left
AutoScale=1
AntiAlias=1
Text=Total:

[MeterDriveTotal]
Meter=String
MeasureName=MeasureDriveTotal
FontFace=Segoe UI
FontSize=11
FontColor=#Gold#
X=183
Y=96
StringStyle=Bold
StringAlign=Right
AutoScale=1
AntiAlias=1
Text=%1B

[MeterDriveFreeLabel]
Meter=String
FontFace=Segoe UI
FontSize=11
FontColor=#Gold#
X=53
Y=113
W=130
H=18
ClipString=1
StringStyle=Bold
AutoScale=1
AntiAlias=1
Text=Free:

[MeterDriveFree]
Meter=String
MeasureName=MeasureDriveFree
FontFace=Segoe UI
FontSize=11
FontColor=#Gold#
X=183
Y=113
StringStyle=Bold
StringAlign=Right
AutoScale=1
AntiAlias=1
Text=%1B
Last edited by Brian on February 6th, 2017, 5:35 am, edited 2 times in total.
Reason: PLEASE USE [CODE] TAGS!
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Extra Homework With System Tutorial Help

Post by balala »

Congratulations, I'm really glad if you succeeded in what you wanted to do. If you have any further questions, please let me know.