Hello,
how do I get a skin only to be displayed after the values of the meters are all loaded?
I have a skin that displays weather data, and when this skin is loaded it takes about 0.5 to 1 second to download the data from the weather site so this data is displayed. During this time period of 0.5 to 1 second the graphics are all wrong as their values are still null or empty. So I would like the skin not to be visible during this period.
Or if anyone has another suggestion that might fix or work around this issue.
Thanks.
It is currently March 28th, 2024, 10:24 am
Show skin only after having all values loaded
- LazieWouters
- Posts: 61
- Joined: August 29th, 2021, 11:11 am
- jsmorley
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Show skin only after having all values loaded
I think the most straightforward way, that involves the least amount of changes to the code, is to:
1) Right-click the Rainmeter tray icon and "Edit Settings"
2) Find the [ConfigName] section for your skin and add StartHidden=1 to the section.
https://docs.rainmeter.net/manual/settings/skin-sections/#StartHidden
3) Edit the skin, and find the "parent" WebParser measure that is getting the data.
4) To that measure section add FinishAction=[!Show]
https://docs.rainmeter.net/manual/measures/webparser/#FinishAction
Save it all and restart Rainmeter.
1) Right-click the Rainmeter tray icon and "Edit Settings"
2) Find the [ConfigName] section for your skin and add StartHidden=1 to the section.
https://docs.rainmeter.net/manual/settings/skin-sections/#StartHidden
3) Edit the skin, and find the "parent" WebParser measure that is getting the data.
4) To that measure section add FinishAction=[!Show]
https://docs.rainmeter.net/manual/measures/webparser/#FinishAction
Save it all and restart Rainmeter.
- SilverAzide
- Rainmeter Sage
- Posts: 2588
- Joined: March 23rd, 2015, 5:26 pm
- Contact:
Re: Show skin only after having all values loaded
And please post where you got all these cool skins from!LazieWouters wrote: ↑August 29th, 2021, 11:20 am Hello,
how do I get a skin only to be displayed after the values of the meters are all loaded?
I have a skin that displays weather data, and when this skin is loaded it takes about 0.5 to 1 second to download the data from the weather site so this data is displayed. During this time period of 0.5 to 1 second the graphics are all wrong as their values are still null or empty. So I would like the skin not to be visible during this period.
Or if anyone has another suggestion that might fix or work around this issue.
Thanks.
Re: Show skin only after having all values loaded
Sorry, but would also be grateful for these skins url or an attached .rmskin file.SilverAzide wrote: ↑August 29th, 2021, 3:16 pm And please post where you got all these cool skins from!
- death.crafter
- Rainmeter Sage
- Posts: 1399
- Joined: April 24th, 2021, 8:13 pm
- Contact:
Re: Show skin only after having all values loaded
Another way would be OnRefreshAction=[!Hide]jsmorley wrote: ↑August 29th, 2021, 11:33 am 2) Find the [ConfigName] section for your skin and add StartHidden=1 to the section.
https://docs.rainmeter.net/manual/settings/skin-sections/#StartHidden
As you see, for new users it might be hard to follow the intricacies of finding the Rainmeter.ini and then the required config(even I get a hard time, so I just delete it, in case I get in to a loop which crashes Rainmeter, instead of finding the conifg and changing Active=0) and then changing the required values, or adding it.
- LazieWouters
- Posts: 61
- Joined: August 29th, 2021, 11:11 am
Re: Show skin only after having all values loaded
It's not quite ready yet, but I can provide the zipped file with the skins if anyone wants... I don't know how to make the installation package yet.
Skins are based on these other skins: ASTROWeatherAPI, SteamCalendar, Shadow Clock, lottaweather. So in advance I thank their creators.
It is also necessary to have the Chameleon plugin installed.
So if anyone is interested just say so I'll post the zip here in a few days.
Skins are based on these other skins: ASTROWeatherAPI, SteamCalendar, Shadow Clock, lottaweather. So in advance I thank their creators.
It is also necessary to have the Chameleon plugin installed.
So if anyone is interested just say so I'll post the zip here in a few days.
- SilverAzide
- Rainmeter Sage
- Posts: 2588
- Joined: March 23rd, 2015, 5:26 pm
- Contact:
Re: Show skin only after having all values loaded
Really nice! I've never seen that SteamCalendar skin before. It would be great to package it all up and post it at some point.
To build an installation package is pretty simple. In the Rainmeter Manager dialog, click the "Create .rmskin package" button. You can pick the skin, all the plugins and add whatever additional info you need and you are done. Full docs are here. The advantage of building an .rmskin instead of a zip is that you can include whatever plugins your skin requires, and Rainmeter will install them properly.
To build an installation package is pretty simple. In the Rainmeter Manager dialog, click the "Create .rmskin package" button. You can pick the skin, all the plugins and add whatever additional info you need and you are done. Full docs are here. The advantage of building an .rmskin instead of a zip is that you can include whatever plugins your skin requires, and Rainmeter will install them properly.