So instead of arranging horizontally they arrange vertically, I tried to move them down individually and kind of got them to span out vertically but the boxpos's up the top kept separating them horizontally.
Would just like them to start at the top right and go downwards in alignment, what's the easiest way to do that?
Code: Select all
[Rainmeter]
Update=1000
OnRefreshAction=[!AutoSelectScreen "1"] -- This is critical for multiple monitor set-up
[Metadata]
Name=SK Neon Meters
Author=Stormknight
Information=Displays system information across top of the screen in dynamic sized meters.
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=1.0
[Variables]
Page=1;
@Include=Config\Styles.inc
@Include2=Config\Config.inc
; Defines the number of boxes across the screen - useful for the different versions.
; This is the STANDARD version with 5 boxes.
BoxQty = 5
; This is mostly positioning calculations, as they just wouldn't work when performed inline as part of the shape command etc. :(
BoxWidth=(#WORKAREAWIDTH#-(#BoxQty#*140)-30)/#BoxQty#
BoxPos1 = 20
BoxPos2 = #BoxWidth#+30
BoxPos3 = (2*#BoxWidth#)+40
BoxPos4 = (3*#BoxWidth#)+50
BoxPos5 = (4*#BoxWidth#)+60
; ====================================
; ========== BOX 1 - CPU LOAD ========
; ====================================
; This is the rectangle that each graph sits within.
[MeterOutlineBox1]
Meter=Shape
Shape=Rectangle #BoxPos1#,22,#BoxWidth#,50 | Fill Color 0,0,0,0 | StrokeWidth 1 | Stroke Color #CPUcolor#,255
; This is the text label above the graph.
[MeterLabelBox1]
Meter=String
MeterStyle=StyleGraphLabels
X=(#BoxWidth#/2)+#BoxPos1#
Y=0
Text="CPU Load"
; Gets data from the rainmeter - this is CPU LOAD.
[MeasureDataBox1]
Measure=CPU
; Gets data for specific cores for quad core etc
[MeasureCPU1]
Measure=CPU
Processor=1
[MeasureCPU2]
Measure=CPU
Processor=2
[MeterGraphLineBox1]
Meter=Line
MeasureName=MeasureDataBox1
X=#BoxPos1#
Y=22
W=#BoxWidth#
H=50
LineCount=1
LineColor=#CPUcolor#,255
SolidColor=#BACKcolor#
AntiAlias=1
LineWidth=2
GraphOrientation=Vertical
[MeterHistogramBox1]
Meter=Histogram
MeasureName=MeasureDataBox1
X=#BoxPos1#
Y=22
W=#BoxWidth#
H=50
PrimaryColor=#CPUcolor#,60
AntiAlias=1
GraphOrientation=Vertical
[MeterDataTextBox1]
Meter=String
MeterStyle=StyleGraphData
MeasureName=MeasureCPU1
MeasureName2=MeasureCPU2
X=(#BoxWidth#/2)+#BoxPos1#
Y=75
Scale=1
NumOfDecimals=0
Text=%1% %2%
; ====================================
; ========== BOX 2 - MEMORY ==========
; ====================================
; This is the rectangle that each graph sits within.
[MeterOutlineBox2]
Meter=Shape
Shape=Rectangle #BoxPos2#,22,#BoxWidth#,50 | Fill Color 0,0,0,0 | StrokeWidth 1 | Stroke Color #MEMcolor#,255
; This is the text label above the graph.
[MeterLabelBox2]
Meter=String
MeterStyle=StyleGraphLabels
X=(#BoxWidth#/2)+#BoxPos2#
Y=0
Text="Memory"
; Gets data from the rainmeter - this is MEMORY.
[MeasureDataBox2]
Measure=PhysicalMemory
UpdateDivider=2
[MeasurePhysMemTotal]
Measure=PhysicalMemory
Total=1
UpdateDivider=3600
[MeterGraphLineBox2]
Meter=Line
MeasureName=MeasureDataBox2
X=#BoxPos2#
Y=22
W=#BoxWidth#
H=50
LineCount=1
LineColor=#MEMcolor#,255
SolidColor=#BACKcolor#
AntiAlias=1
LineWidth=2
GraphOrientation=Vertical
[MeterHistogramBox2]
Meter=Histogram
MeasureName=MeasureDataBox6
X=#BoxPos2#
Y=22
W=#BoxWidth#
H=50
PrimaryColor=#MEMcolor#,60
AntiAlias=1
GraphOrientation=Vertical
[MeterDataTextBox2]
Meter=String
MeterStyle=StyleGraphData
MeasureName=MeasureDataBox2
MeasureName2=MeasurePhysMemTotal
X=(#BoxWidth#/2)+#BoxPos2#
Y=75
AutoScale=1
NumOfDecimals=1
Text="%1B / %2B"
; ====================================
; ========== BOX 3 - NETWORK IN ======
; ====================================
; This is the rectangle that each graph sits within.
[MeterOutlineBox3]
Meter=Shape
Shape=Rectangle #BoxPos3#,22,#BoxWidth#,50 | Fill Color 0,0,0,0 | StrokeWidth 1 | Stroke Color #NETcolor#,255
; This is the text label above the graph.
[MeterLabelBox3]
Meter=String
MeterStyle=StyleGraphLabels
X=(#BoxWidth#/2)+#BoxPos3#
Y=0
Text="Network In"
; Gets data from the rainmeter - this is NETWORK.
[MeasureDataBox3]
Measure=NetIn
Interface=Best
UpdateDivider=2
[MeterGraphLineBox3]
Meter=Line
MeasureName=MeasureDataBox3
X=#BoxPos3#
Y=22
W=#BoxWidth#
H=50
LineCount=1
LineColor=#NETcolor#,255
SolidColor=#BACKcolor#
AntiAlias=1
LineWidth=2
AutoScale=1
GraphOrientation=Vertical
[MeterHistogramBox3]
Meter=Histogram
MeasureName=MeasureDataBox3
X=#BoxPos3#
Y=22
W=#BoxWidth#
H=50
PrimaryColor=#NETcolor#,60
AntiAlias=1
AutoScale=1
GraphOrientation=Vertical
[MeterDataTextBox3]
Meter=String
MeterStyle=StyleGraphData
MeasureName=MeasureDataBox3
X=(#BoxWidth#/2)+#BoxPos3#
Y=75
AutoScale=1
NumOfDecimals=1
Text="%1"
; ====================================
; ========== BOX 4 - NETWORK OUT =====
; ====================================
; This is the rectangle that each graph sits within.
[MeterOutlineBox4]
Meter=Shape
Shape=Rectangle #BoxPos4#,22,#BoxWidth#,50 | Fill Color 0,0,0,0 | StrokeWidth 1 | Stroke Color #NETcolor#,255
; This is the text label above the graph.
[MeterLabelBox4]
Meter=String
MeterStyle=StyleGraphLabels
X=(#BoxWidth#/2)+#BoxPos4#
Y=0
Text="Network Out"
; Gets data from the rainmeter - this is NETWORK.
[MeasureDataBox4]
Measure=NetOut
Interface=Best
UpdateDivider=2
[MeterGraphLineBox4]
Meter=Line
MeasureName=MeasureDataBox4
X=#BoxPos4#
Y=22
W=#BoxWidth#
H=50
LineCount=1
LineColor=#NETcolor#,255
SolidColor=#BACKcolor#
AntiAlias=1
LineWidth=2
GraphOrientation=Vertical
[MeterHistogramBox4]
Meter=Histogram
MeasureName=MeasureDataBox4
X=#BoxPos4#
Y=22
W=#BoxWidth#
H=50
PrimaryColor=#NETcolor#,60
AntiAlias=1
GraphOrientation=Vertical
[MeterDataTextBox4]
Meter=String
MeterStyle=StyleGraphData
MeasureName=MeasureDataBox4
X=(#BoxWidth#/2)+#BoxPos4#
Y=75
AutoScale=1
NumOfDecimals=1
Text="%1"
; ====================================
; ========== BOX 5 - DRIVE C: ========
; ====================================
; This is the rectangle that each graph sits within.
[MeterOutlineBox5]
Meter=Shape
Shape=Rectangle #BoxPos5#,22,#BoxWidth#,50 | Fill Color 0,0,0,0 | StrokeWidth 1 | Stroke Color #HDDcolor#,255
; This is the text label above the graph.
[MeterLabelBox5]
Meter=String
MeterStyle=StyleGraphLabels
X=(#BoxWidth#/2)+#BoxPos5#
Y=0
Text="Drive C:"
; Gets data from the Perfmon plugin - this is NETWORK.
[MeasureDataPerfmonDriveC]
Measure=Plugin
Plugin=PerfMon
PerfMonObject=LogicalDisk
PerfMonCounter="% Disk Time"
PerfMonInstance=C:
OnUpdateAction=[!UpdateMeasure MeasureDataBox5]
[MeasureDataBox5]
; Returns scaled down [MeasureDiskAccessC] measurement that represents the percent of time the given disk is processing read or write requests.
Measure=Calc
Formula=((MeasureDataPerfmonDriveC/100000) < 100 ? (MeasureDataPerfmonDriveC/100000) : 100)
MaxValue=100
MinValue=0
UpdateDivider=-1
[MeterGraphLineBox5]
Meter=Line
MeasureName=MeasureDataBox5
X=#BoxPos5#
Y=22
W=#BoxWidth#
H=50
LineCount=1
LineColor=#HDDcolor#,255
SolidColor=#BACKcolor#
MaxValue=100
MinValue=0
AntiAlias=1
LineWidth=2
GraphOrientation=Vertical
[MeterHistogramBox5]
Meter=Histogram
MeasureName=MeasureDataBox5
X=#BoxPos5#
Y=22
W=#BoxWidth#
H=50
PrimaryColor=#HDDcolor#,60
MaxValue=100
MinValue=0
AntiAlias=1
GraphOrientation=Vertical
[MeterDataTextBox5]
Meter=String
MeterStyle=StyleGraphData
MeasureName=MeasureDataBox5
X=(#BoxWidth#/2)+#BoxPos5#
Y=75
AutoScale=1
NumOfDecimals=0
Text="%1%"