It is currently April 23rd, 2024, 11:09 pm

Edit a script or replace it?

General topics related to Rainmeter.
Kiwi-Hawk
Posts: 1
Joined: October 26th, 2014, 9:44 pm

Edit a script or replace it?

Post by Kiwi-Hawk »

Kia ora

I have been using as a no programmer/scriptwriter Rainmeter for some time now with
a skin hasted up when I was younger and more into it combining code from other skin's
and one is contrast. I used the CPU code to display the spec's of the machine.

I have just upgraded to an X99 Deluxe with a 5820k chip on board and got ti running at 4.5Ghz
but neither windows (under <start><right click programs><Properties>) or Rainmeter so the correct clock speed.

Do I need to edit or replace this code to correct this
;C O N T R A S T v3.0
;Systems Quad CPU

[Rainmeter]
Author=Saqk
Update=1000


[Metadata]
Name=Contrast
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata


[Variables]
TextColourMain=183,219,219,160
TextColourSecond=122,188,188,140
SolidColor=84,169,169,120
BarColor=202,210,34,140
graphline=199,147,82,160
graph.line1=222,228,92,40
graph.line2=84,169,169,25


;-----CPU--------------------

[MeasureCPU]
Measure=CPU

[Mse_CPUIdle]
Measure=CPU
InvertMeasure=1

[MeasureCPUMHz]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=MHZ

[MeasureCPU1]
Measure=Plugin
Plugin=Perfmon.dll
PerfMonObject="Processor"
PerfMonInstance=1
PerfMonCounter="% Processor Time"
PerfMonDifference=1
InvertMeasure=1

[MeasureCPU2]
Measure=Plugin
Plugin=Perfmon.dll
PerfMonObject="Processor"
PerfMonInstance=2
PerfMonCounter="% Processor Time"
PerfMonDifference=1
InvertMeasure=1

[MeasureCPU3]
Measure=Plugin
Plugin=Perfmon.dll
PerfMonObject="Processor"
PerfMonInstance=3
PerfMonCounter="% Processor Time"
PerfMonDifference=1
InvertMeasure=1

[MeasureCPU4]
Measure=Plugin
Plugin=Perfmon.dll
PerfMonObject="Processor"
PerfMonInstance=4
PerfMonCounter="% Processor Time"
PerfMonDifference=1
InvertMeasure=1

[MeasureCPU5]
Measure=Plugin
Plugin=Perfmon.dll
PerfMonObject="Processor"
PerfMonInstance=5
PerfMonCounter="% Processor Time"
PerfMonDifference=1
InvertMeasure=1

[MeasureCPU6]
Measure=Plugin
Plugin=Perfmon.dll
PerfMonObject="Processor"
PerfMonInstance=6
PerfMonCounter="% Processor Time"
PerfMonDifference=1
InvertMeasure=1

[MeasureCPU7]
Measure=Plugin
Plugin=Perfmon.dll
PerfMonObject="Processor"
PerfMonInstance=7
PerfMonCounter="% Processor Time"
PerfMonDifference=1
InvertMeasure=1

[MeasureCPU8]
Measure=Plugin
Plugin=Perfmon.dll
PerfMonObject="Processor"
PerfMonInstance=8
PerfMonCounter="% Processor Time"
PerfMonDifference=1
InvertMeasure=1

[MCPUName]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=HARDWARE\DESCRIPTION\System\CentralProcessor\0
RegValue=ProcessorNameString
UpdateDivider=3000000
;Substitute=" ":"#CRLF#"

[MeasureUptime]
Measure=Uptime
Substitute="d":"d,",":":"h, "

;-----Meters-----------------------

[CPUName]
Meter=STRING
MeasureName=MCPUName
X=1
Y=0
FontColor=#TextColourMain#
FontFace=HandelGotDLig
FontSize=16
StringAlign=LEFT
StringStyle=BOLD
MeterStyle=NORMAL
AntiAlias=1

[CPUMHz]
Meter=STRING
MeasureName=MeasureCPUMHz
X=1
Y=35
FontColor=#TextColourSecond#
FontFace=HandelGotDLig
FontSize=11
StringAlign=LEFT
StringStyle=BOLD
AntiAlias=1
PreFix="Clock Speed: "
PostFix=" MHz"
Hidden=#ShowStats#

[CPUidle]
Meter=STRING
MeasureName=Mse_CPUIdle
X=375
Y=35
FontColor=#graphline#
FontFace=HandelGotDLig
FontSize=11
StringAlign=Right
AntiAlias=1
AutoScale=1
NumOfDecimals=0
Postfix="% : Idle"
Hidden=#ShowStats#

[Separator1]
Meter=IMAGE
SolidColor=#BarColor#
X=1
Y=30
H=2
W=375
Hidden=#ShowLine#

[Separator2]
Meter=IMAGE
SolidColor=#BarColor#
X=1
Y=55
H=2
W=375
Hidden=#ShowLine#

[Separator3]
Meter=IMAGE
SolidColor=#BarColor#
X=1
Y=80
H=2
W=375
Hidden=#ShowLine#

[Uptime]
Meter=STRING
MeasureName=MeasureUptime
X=1
Y=60
FontColor=#TextColourSecond#
FontFace=HandelGotDLig
FontSize=11
StringAlign=LEFT
StringStyle=NORMAL
AntiAlias=1
Prefix="System Uptime "
Postfix="m"
Hidden=#ShowStats#

[CPUGraph1]
Meter=Line
MeasureName=MeasureCPU
X=1
Y=85
H=30
W=375
LineCount=1
LineColor=#graphline#
AntiAlias=1
Hidden=#ShowLine#

[CPUGraph2]
Meter=Line
MeasureName=MeasureCPU1
X=1
Y=100
H=30
W=375
LineCount=1
LineColor=#graphline#
AntiAlias=1
Hidden=#ShowLine#

[CPUGraph3]
Meter=Line
MeasureName=MeasureCPU2
X=1
Y=115
H=30
W=375
LineCount=1
LineColor=#graphline#
AntiAlias=1
Hidden=#ShowLine#

[CPUGraph4]
Meter=Line
MeasureName=MeasureCPU3
X=1
Y=130
H=30
W=375
LineCount=1
LineColor=#graphline#
AntiAlias=1
Hidden=#ShowLine#

[CPUGraph5]
Meter=Line
MeasureName=MeasureCPU4
X=1
Y=145
H=30
W=375
LineCount=1
LineColor=#graphline#
AntiAlias=1
Hidden=#ShowLine#

[CPUGraph6]
Meter=Line
MeasureName=MeasureCPU5
X=1
Y=160
H=30
W=375
LineCount=1
LineColor=#graphline#
AntiAlias=1
Hidden=#ShowLine#

[CPUGraph7]
Meter=Line
MeasureName=MeasureCPU6
X=1
Y=175
H=30
W=375
LineCount=1
LineColor=#graphline#
AntiAlias=1
Hidden=#ShowLine#

[CPUGraph8]
Meter=Line
MeasureName=MeasureCPU7
X=1
Y=190
H=30
W=375
LineCount=1
LineColor=#graphline#
AntiAlias=1
Hidden=#ShowLine#

[MeterCPUAll]
Meter=String
MeasureName=MeasureCPU
StringAlign=LEFT
StringStyle=BOLD
FontColor=#TextColourMain#
X=1
Y=225
H=30
W=375
AntiAlias=1
NumOfDecimals=1
Text="Average Usage: %1%"
Thanks for any help one may gift an ole bloke