It is currently April 27th, 2024, 7:29 am

reflective digital clock

Get help with creating, editing & fixing problems with skins
lanceb
Posts: 7
Joined: April 2nd, 2011, 4:38 pm

reflective digital clock

Post by lanceb »

hey, got a question, i dont know much about scripting.
im wondering if its poss to alter this so the time is displayed like 19:00 instead of 07:00

Code: Select all

[Rainmeter]
Author=mindenhova@freemail.hu
Update=1000
AppVersion=1001000
MiddleMouseDownAction=!RainmeterRefresh #CURRENTCONFIG#

[Variables]
Color=170, 170, 170
;FontName=Century Gothic
FontName=Arial
FontHeight=13

;-------------------------

[MeasureYear]
Measure=Time
Format="%Y"

[MeasureHour]
Measure=Time
Format="%I"

[MeasureMin]
Measure=Time
Format="%M"

[MeasureAMPM]
Measure=Time
Format="%p"

[MeasureSec]
Measure=Time
Format="%S"

[MeasureMonthDay]
Measure=Time
Format="%#d-%b"

[MeasureDOW]
Measure=Time
Format="%A"
;------------------

[bmh]
meter=bitmap
measurename=MeasureHour
bitmapimage="nums.png"
bitmapframes=10
x=20
y=20
bitmapextend=1
bitmapdigits=2

[bmm]
meter=bitmap
measurename=MeasureMin
bitmapimage="nums.png"
bitmapframes=10
x=140r
y=r
bitmapextend=1
bitmapdigits=2

[ampm]
meter=STRING
measurename=MeasureAMPM
stringstyle=Bold
fontface=#FontName#
fontsize=#FontHeight#
fontcolor=#Color#
antialias=1
x=96r
y=-3r

[bms]
meter=string
measurename=MeasureSec
x=260
y=3r
fontface=#FontName#
fontsize=#FontHeight#
fontcolor=#Color#
antialias=1
hidden=1

[dots]
meter=image
imagename=dd.png
x=-128r
y=9r
w=16
h=69

[ev]
meter=image
measurename=MeasureYear
x=3
y=-7r
w=16
h=88

;[hnnn]
;meter=string
;measurename=MeasureMonthDay
;measurename2=MeasureDOW
;stringstyle=Bold
;StringAlign=center
;stringeffect=none
;fontface=#FontName#
;fontsize=#FontHeight#
;fontcolor=#Color#
;antialias=1
vx=130
;y=0
;text="%1 %2"
CybOrSpasm
Posts: 146
Joined: January 8th, 2011, 7:12 pm
Location: Tennessee

Re: reflective digital clock

Post by CybOrSpasm »

change:

[MeasureHour]
Measure=Time
Format="%I"

To:

[MeasureHour]
Measure=Time
Format="%H"

I think that will do it. }:]
lanceb
Posts: 7
Joined: April 2nd, 2011, 4:38 pm

Re: reflective digital clock

Post by lanceb »

it id yer thnx :bow: