It is currently March 30th, 2023, 2:44 pm
Weatherbox 1.1
-
- Posts: 2
- Joined: December 19th, 2018, 12:46 am
Re: Weatherbox 1.1
thanks
-
- Posts: 17
- Joined: February 24th, 2011, 5:39 pm
Re: Weatherbox 1.1
There is a bug that will cause this skin to break during 11 PM and 12 AM
In the substituion rule of CurrentLocationTime, the substitions for these two hours will never apply because 1 PM and 2 AM are applied first (eg, 11 PM will be changed to 113)
One way to fix this is to change the order of the rules
Otherwise, beautiful skin. Many thanks!
Edit:
Also, in [PaletteAction] for some of the SetVariable commands, the alpha channel is missing in the value, which causes respective errors
In the substituion rule of CurrentLocationTime, the substitions for these two hours will never apply because 1 PM and 2 AM are applied first (eg, 11 PM will be changed to 113)
Code: Select all
Substitute="1 AM":"1","2 AM":"2","3 AM":"3","4 AM":"4","5 AM":"5","6 AM":"6","7 AM":"7","8 AM":"8","9 AM":"9","10 AM":"10","11 AM":"11","12 PM":"12","1 PM":"13","2 PM":"14","3 PM":"15","4 PM":"16","5 PM":"17","6 PM":"18","7 PM":"19","8 PM":"20","9 PM":"21","10 PM":"22","11 PM":"23","12 AM":"24"
Code: Select all
Substitute="11 PM":"23","11 AM":"11","12 AM":"24","1 AM":"1","2 AM":"2","3 AM":"3","4 AM":"4","5 AM":"5","6 AM":"6","7 AM":"7","8 AM":"8","9 AM":"9","10 AM":"10","12 PM":"12","1 PM":"13","2 PM":"14","3 PM":"15","4 PM":"16","5 PM":"17","6 PM":"18","7 PM":"19","8 PM":"20","9 PM":"21","10 PM":"22"
Edit:
Also, in [PaletteAction] for some of the SetVariable commands, the alpha channel is missing in the value, which causes respective errors
-
- Rainmeter Sage
- Posts: 15075
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Weatherbox 1.1
A much better solution would be to use regular expression substitution. For this you have to replace the original substitute option with the following two:derari wrote: ↑December 20th, 2018, 9:38 pm One way to fix this is to change the order of the rulesCode: Select all
Substitute="11 PM":"23","11 AM":"11","12 AM":"24","1 AM":"1","2 AM":"2","3 AM":"3","4 AM":"4","5 AM":"5","6 AM":"6","7 AM":"7","8 AM":"8","9 AM":"9","10 AM":"10","12 PM":"12","1 PM":"13","2 PM":"14","3 PM":"15","4 PM":"16","5 PM":"17","6 PM":"18","7 PM":"19","8 PM":"20","9 PM":"21","10 PM":"22"
Code: Select all
RegExpSubstitute=1
Substitute="^1 AM$":"1","^2 AM$":"2","^3 AM$":"3","^4 AM$":"4","^5 AM$":"5","^6 AM$":"6","^7 AM$":"7","^8 AM$":"8","^9 AM$":"9","^10 AM$":"10","^11 AM$":"11","^12 PM$":"12","^1 PM$":"13","^2 PM$":"14","^3 PM$":"15","^4 PM$":"16","^5 PM$":"17","^6 PM$":"18","^7 PM$":"19","^8 PM$":"20","^9 PM$":"21","^10 PM$":"22","^11 PM$":"23","^12 AM$":"24"
-
- Posts: 4
- Joined: May 27th, 2012, 10:08 am
Re: Weatherbox 1.1
Great skin. thanks for the automatic location. really wonderful!!!
Can you add weather icons to the forecast in the next release?
best,
Can you add weather icons to the forecast in the next release?
best,
-
- Posts: 1
- Joined: March 23rd, 2019, 7:38 pm
Re: Weatherbox 1.1
I was wondering if anyone has encountered this bug. The background is completely blank, it doesn't apply any color to the skin nor is it showing a picture on it. It makes the skin really hard to read and is really straining on the eyes. Anyone got a fix? I'm really clueless as to how to fix it myself. Thanks
-
- Posts: 225
- Joined: April 1st, 2015, 7:16 am
Re: Weatherbox 1.1
Hi - I have made this change but everything is not quite working for me. The time at 12:26 returns "13" which is an hour off. Not a huge deal. I am also not getting the color to change no matter how I tweak the numbers.balala wrote: ↑December 21st, 2018, 1:12 pm A much better solution would be to use regular expression substitution. For this you have to replace the original substitute option with the following two:Code: Select all
RegExpSubstitute=1 Substitute="^1 AM$":"1","^2 AM$":"2","^3 AM$":"3","^4 AM$":"4","^5 AM$":"5","^6 AM$":"6","^7 AM$":"7","^8 AM$":"8","^9 AM$":"9","^10 AM$":"10","^11 AM$":"11","^12 PM$":"12","^1 PM$":"13","^2 PM$":"14","^3 PM$":"15","^4 PM$":"16","^5 PM$":"17","^6 PM$":"18","^7 PM$":"19","^8 PM$":"20","^9 PM$":"21","^10 PM$":"22","^11 PM$":"23","^12 AM$":"24"
Does anyone else have this issue? This is a very nice skin I would really like the color to change.
I see the color changing - the 2 colors of blue were too close for me to see. I am still getting "13" for anytime "12:00-12:59".
-
- Posts: 225
- Joined: April 1st, 2015, 7:16 am
Re: Weatherbox 1.1
I have found a formula I would like to try, but I am unsure on how to proceed. The formula is this:ms310 wrote: ↑March 28th, 2019, 3:27 am Hi - I have made this change but everything is not quite working for me. The time at 12:26 returns "13" which is an hour off. Not a huge deal. I am also not getting the color to change no matter how I tweak the numbers.
Does anyone else have this issue? This is a very nice skin I would really like the color to change.
I see the color changing - the 2 colors of blue were too close for me to see. I am still getting "13" for anytime "12:00-12:59".
Could this be in a Calc Measure that is updated when the time changes - it would return an RGB string variable to be used by the color changing measure. Basically break out the calculation part to be reused by the coloring part:
Nevermind - I went the simple route - I just figured out 6 colors I wanted and added the colors manually to the IfCondition measures.
-
- Rainmeter Sage
- Posts: 15075
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Weatherbox 1.1
After posting replies, then striking them out partially, now I'm not sure if you got it working as intended. Did you?
-
- Posts: 225
- Joined: April 1st, 2015, 7:16 am
Re: Weatherbox 1.1
Sorry - yes, I simply added more IfCondition= and IfTrueAction= sections with specific RGB values for simplicity. I took a look at a formula I found on the web and after some investigation, I didn't like the colors it produced.
I am still getting the time returned as <current time>+1 hour though. So even though it is 8 am and I am getting the number 9 returned with your regex substitution.
-
- Rainmeter Sage
- Posts: 15075
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Weatherbox 1.1
Probably the colors can be easily changed. If you'll post the code (as I ask below) there could be some other solutions too.
Ok, please post the whole code you have, to can check.