It is currently May 20th, 2024, 10:25 am

Greeting help

Get help with creating, editing & fixing problems with skins
Firdarrig
Posts: 2
Joined: June 10th, 2010, 10:47 pm

Greeting help

Post by Firdarrig »

I went through the forums and found a greeting that I like and am now using. It is using 24 hr clock, when it reads 1300 for some reason it is giving the greeting for 0100. same for all the times after noon, seems to not get that it is suppose to see 1600 as 1600 and not 4. Also windows system time is also displayed in 24hr format. Any help with this would be greatly appreciated.
below is the code for it as basically copied from the forums.

Rainmeter]
Author:Xune531
Update=1000
Title=Greeting Config

[Variables]
Font=Chiller
Name=Steve
Color=255, 255, 255

;----------MEASURES----------

[MeasureTime]
Measure=Time
Format=%H:%M %I #Name#
Substitute=" 00":" Witching Hour"," 01":" Getting even later"," 02":" Go to bed"," 03":" Good Morning"," 04":" Good Morning"," 05":" Good Morning"," 06":" Good Morning"," 07":" Good Morning"," 08":" Good Morning"," 09":" Good Morning"," 10":" Good Morning"," 11":" Good Morning"," 12":" Its Midday"," 13":" Good afternoon"," 14":" Good afternoon"," 15":" Good afternoon"," 16":" Good afternoon"," 17":" Good afternoon"," 18":" Good evening"," 19":" Good evening"," 20":" Good evening"," 21":" Good evening"," 22":" Good evening"," 23":" Good evening"


;----------METERS------------

[MeterTime]
MeasureName=MeasureTime
Meter=String
W=700
H=50
FontColor=#Color#, 255
FontSize=40
FontFace=#Font#
StringAlign=Left
AntiAlias=1
User avatar
Alex2539
Rainmeter Sage
Posts: 642
Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada

Re: Greeting help

Post by Alex2539 »

Change %I to %H.
ImageImageImageImage
Firdarrig
Posts: 2
Joined: June 10th, 2010, 10:47 pm

Re: Greeting help

Post by Firdarrig »

Thanks !