Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 487

Syncing skins using a common ini file?

$
0
0
Hello, I have a couple of skins in this suite I'm making, and one of the gimmicks is switching information due to space, for example: In my network skin I have a graph showing the download and after 3 seconds it shows the upload, hiding the download one, and so on. The issue is when loading all the skins they load at different pace and end up not in sync when switching the information.

They all have the switching "contraption" in each skin, this thing right here:
(This might not be (probably isn't) the best way, but it is doing the job)

Code:

[ColumnShow]Measure=CalcFormula=(ColumnShow+1)%2UpdateDivider=3IfCondition=(ColumnShow = 0)IfTrueAction=[!EnableMeasureGroup "Info"][!UpdateMeterGroup "Info"][!ShowMeterGroup "Info"][!RedrawGroup "Info"][!DisableMeasureGroup "Cast"][!HideMeterGroup "Cast"][!RedrawGroup "Cast"]IfFalseAction=[!EnableMeasureGroup "Cast"][!UpdateMeterGroup "Cast"][!ShowMeterGroup "Cast"][!RedrawGroup "Cast"][!DisableMeasureGroup "Info"][!HideMeterGroup "Info"][!RedrawGroup "Info"]Disabled=0
So I got thinking if it was possible to have some part of it in a common file from where the skins would read when they should switch, maybe one of the skins could keep writing like a metronome and the other skins would read from it and switch at the same time?

Or instead of that, if it was possible to add a startup time before the first update, a delay of sorts, like: the skins are loaded and they all get ready at different times, 10 seconds delay for them to get ready, skins start updating, that might work also.

Statistics: Posted by An_Hell — Yesterday, 7:24 pm — Replies 3 — Views 68



Viewing all articles
Browse latest Browse all 487

Trending Articles