This is what I am trying:
Text= %1 C
InlineSetting=Color | #BigDriveAltColor#
InlinePattern=^.* (.*)
It works great but I am having trouble in using a LeftMouseUpAction=[!SetOption MeterF InlineSetting ""][!Update]
The idea is to disable the inline lines for either meter so the "F" is highlighted but the "C" is not because the missing ("") parameter effectively disables the inlinepattern because it is what I presume to be a 'short circuit".
Thing is, the !SetOption does not seem to work with this form.
What am I not seeing with this? And how can I make it work?
Thanks.
My added presumption is that effectively both MeterC and MeterF would use the same regex.
EDIT sorry I changed my topic, I wrote it wrong and it was misleading.
Last edited by CodeCode on August 26th, 2021, 4:15 pm, edited 1 time in total.
CodeCode wrote: ↑August 26th, 2021, 2:59 pm
Hello, so I have two string meters, one shows temp Fahrenheit and the "F", the other shows temp Celsius and the"C".
This is what I am trying:
Text= %1 C
InlineSetting=Color | #BigDriveAltColor#
InlinePattern=^.* (.*)
It works great but I am having trouble in using a LeftMouseUpAction=[!SetOption MeterF InlineSetting ""][!Update]
The idea is to disable the inline lines for either meter so the "F" is highlighted but the "C" is not because the missing ("") parameter effectively disables the inlinepattern because it is what I presume to be a 'short circuit".
Thing is, the !SetOption does not seem to work with this form.
What am I not seeing with this? And how can I make it work?
Thanks.
My added presumption is that effectively both MeterC and MeterF would use the same regex.
EDIT sorry I changed my topic, I wrote it wrong and it was misleading.
Ok. I got it working. What I was trying to do is have either MeterC or MeterF have the color set for inlinesetting, change to colorsomething. I decided to use a variable. Then use !SetVariable to make the 'opposite' value not be color changed - essentially using the shortcircuit I mentioned above.
So, now when the unit changes, the selected unit symbol (F or C) will show the new color, and neutralising the 'other meter' to have a blank setting thus preventing that Unit symbol for having a, inlinepattern. Setting inlinepattern to empty string did not work, but setting inlinesetting to empty string does the job.