Because there is a space between the minutes and the seconds (and there is no colon). Try to add one space in the InlinePattern: InlinePattern=.+:.+ (.+).
It is currently March 29th, 2024, 2:48 pm
InlineOptions for Seconds
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: InlineOptions for Seconds
-
- Posts: 1140
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: InlineOptions for Seconds
Ah I see, yes that works
God, you have to be so precise even with spaces!
God, you have to be so precise even with spaces!
- MuLab -
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: InlineOptions for Seconds
Right. Generally have to be precise when coding (not just) in Rainmeter.
-
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: InlineOptions for Seconds
Code: Select all
[MeasureTime]
Measure=Time
Format=%#I:%M %S
[MeterOne]
Meter=String
MeasureName=MeasureTime
FontSize=50
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
InlineSetting=Size | 20
InlinePattern=.+:.+( .+)
The InlinePattern is saying:
. Any character, + one or more times, then ":" then . any character, + one or more times, then ( start capturing a space, then . any character, + one or more times, then ) stop capturing.
I'm capturing the space along with the seconds, so it will also be set to a size of 20 and not 50, which I think looks better.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1140
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: InlineOptions for Seconds
@balala: Yeah, I realise that, but sometimes it's the silly little things like a space or, as before the skin folder name had to be changed due to a substitution event! Very obscure sometimes. Especially when you're as clueless as me!
@Jeff: Yeah I see what you mean, great explanation btw. Though, I'm not sure if I prefer the smaller gap or not lol I'll sleep on it
Thank you both for your help and the explanations.
@Jeff: Yeah I see what you mean, great explanation btw. Though, I'm not sure if I prefer the smaller gap or not lol I'll sleep on it
Thank you both for your help and the explanations.
- MuLab -
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: InlineOptions for Seconds
NO, YOU ARE NOT.
Everyone should forget this. If you can't do something in coding, doesn't mean you are "clueless", stupid or whatever. At most inexperienced in coding. There are many details and anyone can accumulate knowledge only by working with many - many different questions.
-
- Posts: 1140
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: InlineOptions for Seconds
Aw! Thanks balala
I was only joking though
I have another question, but about the Shape meter so I'll post a new topic. Hopefully some nice person will help with that too
I was only joking though
I have another question, but about the Shape meter so I'll post a new topic. Hopefully some nice person will help with that too
- MuLab -
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: InlineOptions for Seconds
The best place to post questions related to the Shape meter: https://forum.rainmeter.net/viewtopic.php?f=5&t=24294&start=240
Yes, probably soon you'll get help.
-
- Posts: 1140
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania