Try adding the following options to the [@ForecastTodayHighTemperature] measure:Hi all. I've been modifying an existing skin (Origami Weather), and recently added the ability to display the forecast high temp for the day. It works great, but after there is no longer a value to display, I'm stuck with the ° displaying. I've tried most of the options I know of to hide it (substitute " °":"" and Toggle/HideMeter), but it's not working unless of course, I comment out the postfix value. After the high temp has passed, it looks like the skin is already coded to not display a value, as the symbol has shifted over the to left side. I just can't figure out how to hide the symbol. Can anyone offer a suggestion on how to hide the symbol?
Code:
[@ForecastTodayHighTemperature]...IfMatch=^$IfMatchAction=[!HideMeter "MeterTempForecastHighTemperature"]IfNotMatchAction=[!ShowMeter "MeterTempForecastHighTemperature"]
- Postfix is recommended not to be used, even if can be. I'd remove it and add the degree symbolt directly to the Text option, for instance this way: Text=%1° (or even better, this way: Text=%1[\x00B0]). Note that I also removed the quotations, which are never needed.
- Even if you've commented out, I see you've added the IfMatch option directly to the [MeterTempForecastHighTemperature] meter. IfMatch (as well as IfCondition) doesn't work on meters, it can be used only on measures. This is why I recommended to add the options to the [@ForecastTodayHighTemperature] measure, which is returning the value to be shown by the [MeterTempForecastHighTemperature] measure.
- !Rainmeter... bang prefix and the !Execute bang are deprecated as well and you shouldn't havbe to use them. Remove them wherever are you using them. The IfMatchAction option posted by you should look this way: IfAboveAction=[!ToggleMeter MeterTempForecastHighTemperatureNA][!ToggleMeter MeterTempForecastHighTemperature] (once again, you can't use it due to what above has been described, however if could be used, it should be without the depreceated bangs).
Statistics: Posted by balala — Today, 9:47 am