It is currently March 27th, 2023, 11:10 am
display date with textual clock
-
- Posts: 2
- Joined: March 4th, 2023, 11:22 pm
display date with textual clock
I am trying to modify textual clock for it to display the date (like day, nth of month, in the 12 hour clock version) and no matter how much I try, I can't seem to do it. Can someone help me out?
-
- Posts: 447
- Joined: May 4th, 2020, 3:01 pm
- Location: Ankara, TURKEY
Re: display date with textual clock
We can help you if you share the code you are working on

I don't know where i going from here, but i promise it won't be boring... 

-
- Posts: 2
- Joined: March 4th, 2023, 11:22 pm
Re: display date with textual clock
This is what I've got so far:
I am not conversant with coding at all, had to switch things up a bit to get here and it's displaying the date as 'Sunday March 05' now. Thanks in advance.
Code: Select all
[Rainmeter]
Update=1000
Author=Connect-R
BackgroundMode=2
SolidColor=0,0,0,1
DynamicWindowSize=1
LeftMouseDoubleClickAction=!ToggleConfig "Textual Clock\Settings" "Settings.ini"
[Variables]
@include=#@#Variables.inc
@include2=#@#Language\Language.inc
;-------------------------------------------------------------
;-------------------------------------------------------------
[MeasureHour]
Measure=Time
Format="%A"
Substitute=#Hour#
[MeasureMinute]
Measure=Time
Format="%B"
Substitute=#Minute#
[MeasureAMPM]
Measure=Time
Format="%d"
;-------------------------------------------------------------
;-------------------------------------------------------------
[MinuteFirstWord]
Measure=String
String=[MeasureMinute]
RegExpSubstitute=1
Substitute="(\w+).*":"\1"
DynamicVariables=1
[MinuteSecondWord]
Measure=String
String=[MeasureMinute]
Substitute="[MinuteFirstWord]":""," ":""
DynamicVariables=1
;-------------------------------------------------------------
;-------------------------------------------------------------
[MeterCheckTextAlign]
Measure=String
String=#TextAlign#
IfMatch=LeftTop
IfMatchAction=[!SetOption "MeterTextualClock24h" "X" "0"][!SetOption "MeterTextualClock24h" "W" ""][!SetOption "MeterTextualClock12h" "X" "0"][!SetOption "MeterTextualClock12h" "W" ""][!Update]
IfMatch2=RightTop
IfMatchAction2=[!SetOption "MeterTextualClock24h" "X" "#Width#"][!SetOption "MeterTextualClock12h" "X" "#Width#"][!Update]
UpdateDivider=-1
;-------------------------------------------------------------
;-------------------------------------------------------------
[MeterTextualClock24h]
Meter=String
MeasureName=MeasureHour
MeasureName2=MinuteFirstWord
Measurename3=MinuteSecondWord
StringAlign=#TextAlign#
StringCase=#Case#
FontFace=#FontFace#
FontSize=#FontSize#
X=([MeterTextualClock24h:W]/2)
W=#Width#
Text="%1%2%3"
InlinePattern=#BoldSetting#
InlineSetting=Weight | 800
InlinePattern2=#FirstWordBold#
InlineSetting2=Color | #FirstColor#
InlinePattern3=#SecondWordBold#
InlineSetting3=Color | #SecondColor#
InlinePattern4="(?i).*[MinuteFirstWord].*([MinuteSecondWord])"
InlineSetting4=Color | #ThirdColor#
AntiAlias=1
DynamicVariables=1
Hidden=#Hidden#
[MeterTextualClock12h]
Meter=String
MeasureName=MeasureHour
MeasureName2=MinuteFirstWord
Measurename3=MinuteSecondWord
Measurename4=MeasureAMPM
StringAlign=#TextAlign#
StringCase=#Case#
FontFace=#FontFace#
FontSize=#FontSize#
X=([MeterTextualClock12h:W]/2)
W=#Width#
Text="%1%2%3%4"
InlinePattern=#BoldSetting#
InlineSetting=Weight | 800
InlinePattern2=#FirstWordBold#
InlineSetting2=Color | #FirstColor#
InlinePattern3=#SecondWordBold#
InlineSetting3=Color | #SecondColor#
InlinePattern4="(?i).*[MinuteFirstWord].*([MinuteSecondWord])"
InlineSetting4=Color | #ThirdColor#
InlinePattern5="[MeasureAMPM]"
InlineSetting5=Color | #ThirdColor#
AntiAlias=1
DynamicVariables=1
Hidden=#Hidden2#
Last edited by eclectic-tech on March 5th, 2023, 2:14 pm, edited 1 time in total.
Reason: Please use the code tag </> when posting long codes.
Reason: Please use the code tag </> when posting long codes.