I want to put [MeasureDay] after [MeasureDate] in the format %Y %m %d %A, but I don't know how to make %A associate the parameters of [MeterDay]. Independent of each other
Pyuahowaito wrote: ↑December 18th, 2023, 6:55 pm
I want to put [MeasureDay] after [MeasureDate] in the format %Y %m %d %A, but I don't know how to make %A associate the parameters of [MeterDay]. Independent of each other
Replace the Format option of the [MeasureDate] measure by Format=%Y %m %d %A. Remove the [MeasureDay] measure, along with its dependencies (for instance the [MeterDay] meter). You can either add the Substitute option of the [MeasureDay] measure to [MeasureDate], however an even better solution in my opinion is not to substitute, but ask Rainmeter to return the day names in Japanese (if I'm correct, or in any other language, if I'm not). You can do this by adding the FormatLocale=ja-JP option to the [MeasureDate] measure, in which case the Substitute option is not needed anymore and can be removed.
Another solution is to use only the [MeterDate] meter (if you do this, remove the [MeterDay] meter) and add to it the following option, besides MeasureName: MeasureName2=MeasureDay. Also add a Text=%1 %2 option to the same [MeterDate] meter. In this option %1 means the measure added as MeasureName and %2 the measure added as MeasureName2.
Which of these solutions do you prefer is completely up to you.
balala wrote: ↑December 18th, 2023, 8:27 pm
In this option %1 means the measure added as MeasureName1 and %2 the measure added as MeasureName2.
Small note, just to avoid confusion: there isn't a MeasureName1 (or any option with an index of 1, for that matter) in Rainmeter. It's just MeasureName, possibly followed by MeasureName2, MeasureName3, and so on, and this goes for any other option that supports indexing. So, %1 in this case will refer to the measure specified as the value for the MeasureName option. Just in case the OP is just starting out with Rainmeter and this detail isn't obvious.
I have another question. Is there a way to add different text styles to one of the time formats separately without splitting the time format, like this:(At present, other methods and manual alignment are used to achieve similar results)
2.jpg
And it is aligned with the same format as Format=%Y %m %d %A, with a space between them, and its distance is the same.
1.jpg
You do not have the required permissions to view the files attached to this post.
Pyuahowaito wrote: ↑December 19th, 2023, 6:11 pm
I have another question. Is there a way to add different text styles to one of the time formats separately without splitting the time format, like this:(At present, other methods and manual alignment are used to achieve similar results)2.jpg
And it is aligned with the same format as Format=%Y %m %d %A, with a space between them, and its distance is the same.1.jpg
There definitely is. But first question is which approach did you use? Did you alter the Format of the [MeasureDate] measure or did add two MeasureName options to the [MeterDate] meter? I'm not entirely sure...
balala wrote: ↑December 19th, 2023, 7:06 pm
There definitely is. But first question is which approach did you use? Did you alter the Format of the [MeasureDate] measure or did add two MeasureName options to the [MeterDate] meter? I'm not entirely sure...
This is the current code. I don't know how to proceed.
Pyuahowaito wrote: ↑December 19th, 2023, 6:11 pm
Thank you for your tips.
I have another question. Is there a way to add different text styles to one of the time formats separately without splitting the time format, like this:(At present, other methods and manual alignment are used to achieve similar results)2.jpg
And it is aligned with the same format as Format=%Y %m %d %A, with a space between them, and its distance is the same.1.jpg