Ok, so, I tried this, but I remembered after doing the above that I already did it before for some reason, maybe simply to eliminate the code from the Variables section by removing the square brackets to the mouse action.jsmorley wrote: ↑September 2nd, 2021, 9:50 am Yes, like this:
Code: Select all
[Rainmeter] Update=1000 DynamicWindowSize=1 AccurateText=1 [Variables] Icon1=\xe756 [MeterOne] Meter=String FontSize=30 Text=[#Icon1#] FontFace=Segoe Fluent Icons FontWeight=400 FontColor=255,255,255,255 SolidColor=47,47,47,255 Padding=5,5,5,5 AntiAlias=1 LeftMouseUpAction=[!SetClip "[*#Icon1#*]"]
Anyway, by doing the above, it breaks the code, which is why I never used it beforehand. Currently, I have 20 icons per page. but not all pages are used, they are spare, ready for adding more icon codes into the variables that are already present in each skins INI file.
These spare slots are therefore currently blank, as the call for them is "" ie. no text. But if I change the code to the above suggestion and move the square brackets to the mouse action, every spare slot shows 4 small squares as the call isn't "" but is now changed to "[]". With no text but a call for something unknown, instead of blank text.
Hopefully you get the gist of what I am saying?
This: [!SetClip "[*##CURRENTSECTION#*]"] gives this: [*#Icon1#*].
Changing the code to:
Code: Select all
[sAllIcons]
FontFace=Segoe Fluent Icons
FontSize=14
FontColor=#Color1#
AntiAlias=1
Text=[[##CURRENTSECTION#]]
LeftMouseUpAction=[!EnableMouseAction * "MouseOverAction|MouseLeaveAction"] [!SetVariable Preview [##CURRENTSECTION#]] [!SetOptionGroup Preview FontColor "#Color1#"] [!UpdateMeterGroup Preview] [!SetOption #CURRENTSECTION# FontColor "#Color4#"] [!UpdateMeter #CURRENTSECTION#] [!Redraw] [!DisableMouseAction #CurrentSection# "MouseOverAction|MouseLeaveAction"][!SetClip "[*##CURRENTSECTION#*]"]
UpdateDivider=-1
DynamicVariables=1
X=185
Y=5R
Upshot is that I can't remove the square brackets without altering more code within the Meters.INC file. It was just a thought to improve the skins usefulness, seems to be proving not possible?