Help debugging beginner code
Posted: May 18th, 2017, 11:04 am
I am new to rainmeter, so I apologize if this is the wrong forum. I recently discovered the program, and I have decided to learn how to use it. My first project is a clock, which should be a simple affair, but I have spent the last hours trying to debug why I am getting no visuals from my "script". If someone could point out what I am doing wrong it would be greatly appreciated. (note, I am aware that there is no positioning data, I cant really gauge where to put stuff until I have visuals. Also FontName is replaced with a actual font)
Also, the font that I am using has some odd quarks. In a previous iteration of the script (just display the time %H:%M.%S), the text was getting cut off at the end (it would often display half a number in the seconds column) If someone could explain this to me I would also appreciate it.
Code: Select all
[Rainmeter]
Update=1000
[Metadata]
Name=Clock
Author= Shadowcalen
Information=
Version= 0.1
License=Creative Commons Attribution - Non - Commercial - Share Alike 3.0
;--Measures--
[MeasureTime]
Measure=Time
Format=%H:%M
[MeasureSeconds]
Measure=Time
Format=%S
[MeasureDate]
Measure=Time
Format=%#x
;--Text Style--
[TextStyle]
FontFace=FontName
SolidColor=0,0,0,1
FontColor=233,233,233
StringAlign=Right
AntiAlias=1
;--Meters--
[MeterTime]
Meter=String
MeterStyle=TextStyle
MeasureName=MeasureTime
FontSize=40
[MeterSeconds]
Meter=String
MeterStyle=TextStyle
MeasureName=MeasureSeconds
FontSize=40
[MeterDate]
Meter=String
MeterStyle=TextStyle
MeasureName=MeasureDate
FontSize=40