It is currently January 22nd, 2022, 5:34 am

Substitute

Help with creating, editing & fixing problems with skins
User avatar
Alloutofmercy
Posts: 103
Joined: November 17th, 2021, 5:51 am

Re: Substitute

Post by Alloutofmercy »

Oh and it is a slider. Click on the sidebar
BOOTY
User avatar
David8192
Posts: 216
Joined: July 8th, 2021, 11:30 pm
Location: The King's Avenue, Golden Kingdom

Re: Substitute

Post by David8192 »

Alloutofmercy wrote: January 12th, 2022, 2:11 pm Strange. It still dosent work. I thought you were right cause for some reason I thought %B will return a numeric value of the month instead of the name of the month. That was the reason I changed it to %B in the first place
Screenshot 2022-01-12 193827.png

Code: Select all

[measureDate]
Measure=Time
Format=%m

Substitute="1":"#@#Jan1.png","2":"#@#Feb2.png","3":"#@#Mar3.png","4":"#@#Apr4.png","5":"#@#May5.png","6":"#@#June6.png","7":"#@#July7.png","8":"#@#Aug.png","9":"#@#Sep9.png","10":"#@#Oct10.png","11":"#@#Nov.png","12":"#@#Dec12.png"
%B or %m. Either one works. The issue with your code is specificity.
If you go for %B,

Code: Select all

[measureDate]
Measure=Time
Format=%B

Substitute="January":"#@#Jan1.png","February":"#@#Feb2.png","March":"#@#Mar3.png","April":"#@#Apr4.png","May":"#@#May5.png","June":"#@#June6.png","July":"#@#July7.png","August":"#@#Aug.png","September":"#@#Sep9.png","October":"#@#Oct10.png","November":"#@#Nov.png","December":"#@#Dec12.png"
will do.

If you use %m,

Code: Select all

[measureDate]
Measure=Time
Format=%m

Substitute="01":"#@#Jan1.png","02":"#@#Feb2.png","03":"#@#Mar3.png","04":"#@#Apr4.png","05":"#@#May5.png","06":"#@#June6.png","07":"#@#July7.png","08":"#@#Aug.png","09":"#@#Sep9.png","10":"#@#Oct10.png","11":"#@#Nov.png","12":"#@#Dec12.png"
will work. (Here, the leading zero (0) is important).
the DA GALLERY 8-) For some Reason, the square root of X2 does not involve X
User avatar
Alloutofmercy
Posts: 103
Joined: November 17th, 2021, 5:51 am

Re: Substitute

Post by Alloutofmercy »

Whew! Got it
Thankyou
Screenshot 2022-01-13 155443.png
You do not have the required permissions to view the files attached to this post.
BOOTY
User avatar
David8192
Posts: 216
Joined: July 8th, 2021, 11:30 pm
Location: The King's Avenue, Golden Kingdom

Re: Substitute

Post by David8192 »

Alloutofmercy wrote: January 13th, 2022, 10:24 am Whew! Got it
Thankyou Screenshot 2022-01-13 155443.png
You are WELCOME :)
the DA GALLERY 8-) For some Reason, the square root of X2 does not involve X
User avatar
death.crafter
Rainmeter Sage
Posts: 1293
Joined: April 24th, 2021, 8:13 pm

Re: Substitute

Post by death.crafter »

Alloutofmercy wrote: January 13th, 2022, 8:36 am You are right. Here is the package. The images were edited by me
Use Format=%#m.

https://docs.rainmeter.net/manual/measures/time/#FormatCodes

See the notes at the end of that section.

Edit: David beat me half way
from the Realm of Death
User avatar
David8192
Posts: 216
Joined: July 8th, 2021, 11:30 pm
Location: The King's Avenue, Golden Kingdom

Re: Substitute

Post by David8192 »

death.crafter wrote: January 13th, 2022, 11:53 am
Edit: David beat me half way
:lol: Yeah, just half.
the DA GALLERY 8-) For some Reason, the square root of X2 does not involve X