Page 1 of 1
Hi All
Posted: August 22nd, 2016, 11:58 pm
by CyberTheWorm
Just got started playing with Rainmeter and just created my first skin.
I used the Rotator Meter example to make a 12-24 hour clock.
I edited it a bunch and can flip between the 2 different faces.
Need to get a better 24 clock face I just threw that one together.
Re: Hi All
Posted: August 23rd, 2016, 4:25 pm
by balala
Welcome to Rainmeter (an indeed great tool) and this forum.
If these are your first skins, congratulations.
The 24-hour clock is an interesting idea. Please post the code.
Re: Hi All
Posted: August 23rd, 2016, 6:31 pm
by CyberTheWorm
OK here you go, I made 2 ini files in the same directory to allow a variant switch
Original Rotator Meter Example
Code: Select all
[Rainmeter]
Update=1000
[Metadata]
Name=ExampleMeterRotator
Author=The Rainmeter Team
Information=Example of the Rotator meter
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=1.0
[MeasureTime]
Measure=Time
[MeterClockFace]
Meter=Image
ImageName=#@#Images\ClockFace.png
W=110
H=116
[MeterHoursHand]
Meter=ROTATOR
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
ImageName=#@#Images\Hours.png
OffsetX=3
OffsetY=3
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=43200
[MeterMinutesHand]
Meter=ROTATOR
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
ImageName=#@#Images\Minutes.png
OffsetX=3
OffsetY=3
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=3600
[MeterSecondsHand]
Meter=ROUNDLINE
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
LineLength=52
LineColor=247,220,129,255
LineWidth=2
AntiAlias=1
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=60
My edited 12 Hour clock I took out the image files for the hands and added ROUNDLINE and adjusted the colour
Code: Select all
[Rainmeter]
Update=1000
[Metadata]
Name=12HourClock
Author=Graham Wedepohl
Information=Edited from the Example of the Rotator meter
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=1.0.0
[MeasureTime]
Measure=Time
[MeterClockFace]
Meter=Image
ImageName=#@#\Images\12hour.png
W=110
H=116
[MeterHoursHand]
Meter=ROUNDLINE
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
LineLength=28
LineColor=255,0,0,255
LineWidth=5
AntiAlis=1
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=43200
[MeterMinutesHand]
Meter=ROUNDLINE
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
LineLength=40
LineColor=0,127,255,255
LineWidth=4
AntiAlis=1
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=3600
[MeterSecondsHand]
Meter=ROUNDLINE
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
LineLength=52
LineColor=247,220,129,255
LineWidth=2
AntiAlias=1
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=60
My edited 24 Hour clock, created a different face and doubled the ValueRemainder from 43200 to 86400
Code: Select all
[Rainmeter]
Update=1000
[Metadata]
Name=24HourClock
Author=Graham Wedepohl
Information=Edited from the Example of the Rotator meter
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=1.0.0
[MeasureTime]
Measure=Time
[MeterClockFace]
Meter=Image
ImageName=#@#\Images\24hour.png
W=110
H=116
[MeterHoursHand]
Meter=ROUNDLINE
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
LineLength=28
LineColor=255,0,0,255
LineWidth=5
AntiAlis=1
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=86400
[MeterMinutesHand]
Meter=ROUNDLINE
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
LineLength=35
LineColor=0,127,255,255
LineWidth=4
AntiAlis=1
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=3600
[MeterSecondsHand]
Meter=ROUNDLINE
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
LineLength=42
LineColor=247,220,129,255
LineWidth=2
AntiAlias=1
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=60
Re: Hi All
Posted: August 23rd, 2016, 7:51 pm
by balala
CyberTheWorm wrote:My edited 24 Hour clock, created a different face and doubled the ValueRemainder from 43200 to 86400
Although I don't have the 24hour.png image, it's an interesting idea. Congratulations. Keep working and go on. But be careful, Rainmeter is addictive...
Re: Hi All
Posted: August 23rd, 2016, 8:47 pm
by CyberTheWorm
Here you go, I'm not addicted I can quit any time
And thanks for the code snippet in the other post, I have now added this to make dragging better
Code: Select all
BackgroundMode=2
SolidColor=0,0,0,1
Re: Hi All
Posted: August 24th, 2016, 6:52 am
by balala
CyberTheWorm wrote:Here you go, I'm not addicted
Yet...
Re: Hi All
Posted: October 27th, 2016, 4:41 pm
by starchip
Not addicted?
Only a developer needs a 24-hour clock face (insert emoji here)
Or maybe an alcoholic insomniac - but I repeat myself..
Welcome - I'm new too.
Re: Hi All
Posted: October 28th, 2016, 12:44 am
by jumper77
That's funny starchip!
Welcome Cyber. It's a great place here with many helpful people. And smart ones too
Hope you enjoy your stay!