First Effort

Post your work-in-progress and completed skins to share and discuss.

First Effort

December 1st, 2017, 1:36 am
MrMat
   [1 posts]

I thought I'd share my first effort, it might help people just starting out.
Thanks to all the others who posted code examples too.


RainmeterScreenshot.jpg


Code: Select all

;Header section, applies to entire skin
[Rainmeter]
Update=500
AccurateText=1
DynamicWindowSize=1

;Metadata section, information about the skin displayed in the Rainmeter Manage window
[Metadata]
Name=VerticalBlackAndWhite
Author=MrMat@Hotmail.com
Information=From the Tutorial on making skins and the manual
Version=1.0
License=Creative Commons Attribution - Non - Commercial - Share Alike 3.0

;Variable section, for variables to be reused throughout the skin
[Variables]
White=255,255,255,255
DarkBlue=27,63,107,255
MediumBlue=92,135,209,255
LightBlue=207,224,255,255
LightRed=250,148,135,255
Grey=60,60,60,255
AlmostBlack=40,40,40,255
Black=0,0,0,255

;a font Style section, for styles that can be reused throughout the skin
[TextStyleNormal]
FontFace=Arial
FontSize=12
FontColor=255,255,255,255
AntiAlias=1

[TextStyleLarge]
FontFace=Segoe UI
FontSize=20
FontColor=255,255,255,255
AntiAlias=1

[TextStyleHuge]
FontFace=Segoe UI
FontSize=40
FontColor=255,255,255,255
AntiAlias=1

;Measure Section, each measure gets data
[MeasureNetIn]
Measure=NetIn
Interface=Best
MinValue=0
MaxValue=(25 * 1048576)
UpdateDivider=2

[MeasureNetInPercent]
Measure=Calc
Formula=MeasureNetIn
;UpdateDivider=5

[MeasureNetOut]
Measure=NetOut
Interface=Best
MinValue=0
MaxValue=(6 * 1048576)
UpdateDivider=2

[MeasureNetOutPercent]
Measure=Calc
Formula=MeasureNetOut
;UpdateDivider=5

[MeasureDateTime]
Measure=Time
Format=%r%t%a, %b, %D

[MeasureTime]
Measure=Time
Format=%#I:%M:%S

[MeasureDate]
Measure=Time
Format=%A, %B %#d, %Y

[MeasureCPU0]
Measure=CPU
Procesor=0
AverageSize=5

[MeasureCPU1]
Measure=CPU
Processor=1
AverageSize=5

[MeasureCPU2]
Measure=CPU
Processor=2
AverageSize=5

[MeasureCPU3]
Measure=CPU
Processor=3
AverageSize=5

[MeasureCPU4]
Measure=CPU
Processor=4
AverageSize=5

[MeasureCPU5]
Measure=CPU
Processor=5
AverageSize=5

[MeasureCPU6]
Measure=CPU
Processor=6
AverageSize=5

[MeasureCPU7]
Measure=CPU
Processor=7
AverageSize=5

[MeasurePhysMemUsed]
Measure=PhysicalMemory
UpdateDivider=2

;Meter Section, display the data from the Measure section
[MeterDateTime]
Meter=String
X=0r
;relative horizontal start point
Y=0R
;relative vertical start point
MeasureName=MeasureDateTime
MeterStyle=TextStyleHuge

[MeterCPU0CircleBackground]
Meter=Roundline
X=-10r
Y=10R
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=0
LineLength=40
Solid=1
LineColor=#Black#
AntiAlias=1

[MeterCPU0Circle]
Meter=Roundline
X=0r
Y=-100R
MeasureName=MeasureCPU0
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=35
LineLength=40
Solid=1
LineColor=#White#
AntiAlias=1

[MeterCPU0Percent]
X=50r
Y=-50R
Meter=String
MeasureName=MeasureCPU0
MeterStyle=TextStyleNormal
StringAlign=CenterCenter
Text=%1%

[MeterCPU0Line]
Meter=Line
MeasureName=MeasureCPU0
X=60r
Y=-65R
W=760
H=90
LineCount=1
LineColor=#White#
LineWidth=1
HorizontalLines=1
HorizontalLineColor=#AlmostBlack#
SolidColor=#Black#

[MeterCPU1CircleBackground]
Meter=Roundline
X=-110r
Y=10R
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=0
LineLength=40
Solid=1
LineColor=#Black#
AntiAlias=1

[MeterCPU1Circle]
Meter=Roundline
X=0r
Y=-100R
MeasureName=MeasureCPU1
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=35
LineLength=40
Solid=1
LineColor=#White#
AntiAlias=1

[MeterCPU1Percent]
X=50r
Y=-50R
Meter=String
MeasureName=MeasureCPU1
MeterStyle=TextStyleNormal
StringAlign=CenterCenter
Text=%1%

[MeterCPU1Line]
Meter=Line
MeasureName=MeasureCPU1
X=60r
Y=-65R
W=760
H=90
LineCount=1
LineColor=#WhiteFontColour#
LineWidth=1
HorizontalLines=1
HorizontalLineColor=#AlmostBlack#
SolidColor=#Black#

[MeterCPU2CircleBackground]
Meter=Roundline
X=-110r
Y=10R
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=0
LineLength=40
Solid=1
LineColor=#Black#
AntiAlias=1

[MeterCPU2Circle]
Meter=Roundline
X=0r
Y=-100R
MeasureName=MeasureCPU2
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=35
LineLength=40
Solid=1
LineColor=#White#
AntiAlias=1

[MeterCPU2Percent]
X=50r
Y=-50R
Meter=String
MeasureName=MeasureCPU2
MeterStyle=TextStyleNormal
StringAlign=CenterCenter
Text=%1%

[MeterCPU2Line]
Meter=Line
MeasureName=MeasureCPU2
X=60r
Y=-65R
W=760
H=90
LineCount=1
LineColor=#WhiteFontColour#
LineWidth=1
HorizontalLines=1
HorizontalLineColor=#AlmostBlack#
SolidColor=#Black#

[MeterCPU3CircleBackground]
Meter=Roundline
X=-110r
Y=10R
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=0
LineLength=40
Solid=1
LineColor=#Black#
AntiAlias=1

[MeterCPU3Circle]
Meter=Roundline
X=0r
Y=-100R
MeasureName=MeasureCPU3
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=35
LineLength=40
Solid=1
LineColor=#White#
AntiAlias=1

[MeterCPU3Percent]
X=50r
Y=-50R
Meter=String
MeasureName=MeasureCPU3
MeterStyle=TextStyleNormal
StringAlign=CenterCenter
Text=%1%

[MeterCPU3Line]
Meter=Line
MeasureName=MeasureCPU3
X=60r
Y=-65R
W=760
H=90
LineCount=1
LineColor=#WhiteFontColour#
LineWidth=1
HorizontalLines=1
HorizontalLineColor=#AlmostBlack#
SolidColor=#Black#

[MeterCPU4CircleBackground]
Meter=Roundline
X=-110r
Y=10R
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=0
LineLength=40
Solid=1
LineColor=#Black#
AntiAlias=1

[MeterCPU4Circle]
Meter=Roundline
X=0r
Y=-100R
MeasureName=MeasureCPU4
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=35
LineLength=40
Solid=1
LineColor=#White#
AntiAlias=1

[MeterCPU4Percent]
X=50r
Y=-50R
Meter=String
MeasureName=MeasureCPU4
MeterStyle=TextStyleNormal
StringAlign=CenterCenter
Text=%1%

[MeterCPU4Line]
Meter=Line
MeasureName=MeasureCPU4
X=60r
Y=-65R
W=760
H=90
LineCount=1
LineColor=#WhiteFontColour#
LineWidth=1
HorizontalLines=1
HorizontalLineColor=#AlmostBlack#
SolidColor=#Black#

[MeterCPU5CircleBackground]
Meter=Roundline
X=-110r
Y=10R
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=0
LineLength=40
Solid=1
LineColor=#Black#
AntiAlias=1

[MeterCPU5Circle]
Meter=Roundline
X=0r
Y=-100R
MeasureName=MeasureCPU5
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=35
LineLength=40
Solid=1
LineColor=#White#
AntiAlias=1

[MeterCPU5Percent]
X=50r
Y=-50R
Meter=String
MeasureName=MeasureCPU5
MeterStyle=TextStyleNormal
StringAlign=CenterCenter
Text=%1%

[MeterCPU5Line]
Meter=Line
MeasureName=MeasureCPU5
X=60r
Y=-65R
W=760
H=90
LineCount=1
LineColor=#WhiteFontColour#
LineWidth=1
HorizontalLines=1
HorizontalLineColor=#AlmostBlack#
SolidColor=#Black#

[MeterCPU6CircleBackground]
Meter=Roundline
X=-110r
Y=10R
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=0
LineLength=40
Solid=1
LineColor=#Black#
AntiAlias=1

[MeterCPU6Circle]
Meter=Roundline
X=0r
Y=-100R
MeasureName=MeasureCPU6
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=35
LineLength=40
Solid=1
LineColor=#White#
AntiAlias=1

[MeterCPU6Percent]
X=50r
Y=-50R
Meter=String
MeasureName=MeasureCPU6
MeterStyle=TextStyleNormal
StringAlign=CenterCenter
Text=%1%

[MeterCPU6Line]
Meter=Line
MeasureName=MeasureCPU6
X=60r
Y=-65R
W=760
H=90
LineCount=1
LineColor=#WhiteFontColour#
LineWidth=1
HorizontalLines=1
HorizontalLineColor=#AlmostBlack#
SolidColor=#Black#

[MeterCPU7CircleBackground]
Meter=Roundline
X=-110r
Y=10R
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=0
LineLength=40
Solid=1
LineColor=#Black#
AntiAlias=1

[MeterCPU7Circle]
Meter=Roundline
X=0r
Y=-100R
MeasureName=MeasureCPU7
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=35
LineLength=40
Solid=1
LineColor=#White#
AntiAlias=1

[MeterCPU7Percent]
X=50r
Y=-50R
Meter=String
MeasureName=MeasureCPU7
MeterStyle=TextStyleNormal
StringAlign=CenterCenter
Text=%1%

[MeterCPU7Line]
Meter=Line
MeasureName=MeasureCPU7
X=60r
Y=-65R
W=760
H=90
LineCount=1
LineColor=#WhiteFontColour#
LineWidth=1
HorizontalLines=1
HorizontalLineColor=#AlmostBlack#
SolidColor=#Black#

[MeterNetOutLabel]
X=-85r
Y=40R
Meter=String
MeterStyle=TextStyleNormal
FontSize=11
StringStyle=Normal
StringAlign=Left
AntiAlias=1
Text="Upload"

[MeterNetOutCircleBackground]
Meter=Roundline
X=-25r
Y=-10R
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=0
LineLength=40
Solid=1
LineColor=#Black#
AntiAlias=1

[MeterNetOutCircle]
Meter=Roundline
X=0r
Y=-100R
MeasureName=MeasureNetOut
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=35
LineLength=40
Solid=1
LineColor=#White#
AntiAlias=1

[MeterNetOutPercent]
X=50r
Y=-50R
Meter=String
MeasureName=MeasureNetOutPercent
MeterStyle=TextStyleNormal
StringAlign=CenterCenter
AutoScale=1
NumOfDecimals=1
Text="%1B"

[MeterNetOutLine]
Meter=Line
MeasureName=MeasureNetOut
X=60r
Y=-60R
W=760
H=90
LineCount=1
LineColor=#WhiteFontColour#
LineWidth=1
HorizontalLines=1
HorizontalLineColor=#AlmostBlack#
SolidColor=#Black#

[MeterNetInLabel]
X=-90r
Y=10R
Meter=String
MeterStyle=TextStyleNormal
FontSize=11
StringStyle=Normal
StringAlign=Left
AntiAlias=1
Text="Download"

[MeterNetInCircleBackground]
Meter=Roundline
X=-20r
Y=-10R
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=0
LineLength=40
Solid=1
LineColor=#Black#
AntiAlias=1

[MeterNetInCircle]
Meter=Roundline
X=0r
Y=-100R
MeasureName=MeasureNetIn
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=35
LineLength=40
Solid=1
LineColor=#White#
AntiAlias=1

[MeterNetInPercent]
X=50r
Y=-50R
Meter=String
MeasureName=MeasureNetInPercent
MeterStyle=TextStyleNormal
StringAlign=CenterCenter
AutoScale=1
NumOfDecimals=1
Text="%1B"

[MeterNetInLine]
Meter=Line
MeasureName=MeasureNetIn
X=60r
Y=-60R
W=760
H=90
LineCount=1
LineColor=#WhiteFontColour#
LineWidth=1
HorizontalLines=1
HorizontalLineColor=#AlmostBlack#
SolidColor=#Black#

[MeterPhysMemUsedLabel]
X=-90r
Y=40R
Meter=String
MeterStyle=TextStyleNormal
FontSize=11
StringStyle=Normal
StringAlign=Left
AntiAlias=1
Text="Memory"

[MeterPhysMemUsedBackground]
Meter=Roundline
X=-20r
Y=-10R
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=0
LineLength=40
Solid=1
LineColor=#Black#
AntiAlias=1

[MeterPhysMemUsedCircle]
Meter=Roundline
X=0r
Y=-100R
MeasureName=MeasurePhysMemUsed
W=100
H=100
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=35
LineLength=40
Solid=1
LineColor=#White#
AntiAlias=1

[MeterPhysMemUsedPercent]
X=50r
Y=-50R
Meter=String
MeasureName=MeasurePhysMemUsed
MeterStyle=TextStyleNormal
StringAlign=CenterCenter
AutoScale=1
NumOfDecimals=1
Text="%1B"

[MeterPhysMemUsedLine]
Meter=Line
MeasureName=MeasurePhysMemUsed
X=60r
Y=-60R
W=760
H=90
LineCount=1
LineColor=#WhiteFontColour#
LineWidth=1
HorizontalLines=1
HorizontalLineColor=#AlmostBlack#
SolidColor=#Black#
You do not have the required permissions to view the files attached to this post.

Return to “Share Your Creations”



Who is online

Users browsing this forum: DotBot [Crawler] and 1 guest