Code: Select all
Y=[SectionName:Y]
Code: Select all
Y=[SectionName:YH]
Also within the [Variables] section it would be great if
Code: Select all
VarName=
Something like this:

Code: Select all
Y=[SectionName:Y]
Code: Select all
Y=[SectionName:YH]
Code: Select all
VarName=
I guess here the reason is that the VarName in that code could be anything (similar to, say, the name of a Shape's gradient, which is also not colored), compared to option names which are known. There is also the possibility of extra-parsing to know which of the Something= belongs to the [Variables] section and which is a regular option down in the skin. For the record, Lua's syntax coloring (or most of the other programming languages I tried) don't color variable names either (with the notable exception of PowerShell, where variable names are easily distinguishable because they are preceded by the $ dollar sign, which makes them easy to be detected when parsing the file).Yaron2334 wrote: ↑February 15th, 2022, 4:17 pmAlso within the [Variables] section it would be great ifso they are better distinguishable from the rest.Code: Select all
VarName=
I see, that is logical. I am still fairly new to that space so that is good to know. thank you!Yincognito wrote: ↑February 15th, 2022, 4:48 pm I guess here the reason is that the VarName in that code could be anything (similar to, say, the name of a Shape's gradient, which is also not colored), compared to option names which are known. There is also the possibility of extra-parsing to know which of the Something= belongs to the [Variables] section and which is a regular option down in the skin. For the record, Lua's syntax coloring (or most of the other programming languages I tried) don't color variable names either (with the notable exception of PowerShell, where variable names are easily distinguishable because they are preceded by the $ dollar sign, which makes them easy to be detected when parsing the file).
Apparently the Process measure never got past the plugin status in RainLexer?
Code: Select all
[Variables]
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
BackgroundMode=2
SolidColor=47,47,47,255
--- Measures ---
[ProcessRainmeter]
Measure=Process
ProcessName=Rainmeter.exe
RegExpSubstitute=1
Substitute="^-1$":"not running","^1$":"running"
---Meters---
[Result]
Meter=String
FontFace=Consolas
FontColor=255,255,255,230
FontSize=16
AntiAlias=1
MeasureName=ProcessRainmeter
Text=Rainmeter is %1
Thanks! Updated, built, and released!
Cool.jsmorley wrote: ↑April 3rd, 2022, 1:53 pm Thanks! Updated, built, and released!
https://forum.rainmeter.net/viewtopic.php?p=40071#p40071
Ah, Ok. I will update the first post of this thread.