ok so i have this in every file:
[Rainmeter]
Update=1000
DynamicWindowSize=1
[Variables]
Layout1=Akino
Layout2=Ayanami Rei
Layout3=C.C
Layout4=Elizabeth (7DS)
Layout5=FUUKA
Layout6=Hatsune Miku
Layout7=Hestia
Layout8 =Hitagi (Monogatari)
Layout9 =Lucy (Elfen Lied)
Layout10 =Mikasa
Layout11 =Misa (DeathNote)
Layout12 =Morgiana
Layout13 =Saber
[MeasureRandom]
Measure=Calc
Formula=Random
LowBound=1
HighBound=7
UpdateDivider=-1
[MeasureMinute]
Measure=Time
Format=0
[MeasureSecond]
Measure=Time
Format=%#S
[MeasureOnHour]
Measure=Calc
IfCondition=(MeasureMinute = 0) && (MeasureSecond = 0)
IfTrueAction=[!LoadLayout "[#Layout[&MeasureRandom]]"]
DynamicVariables=1
[MeterDummy]
Meter=String
when i load it after a few secs layout 13 appears and then nothing happens - it just stays there.
It is currently April 23rd, 2024, 8:03 pm
Hourly auto calendar skin change?
-
- Posts: 16
- Joined: March 16th, 2018, 1:31 pm
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Hourly auto calendar skin change?
Not sure. Works for me, although you need to change HighBound to HighBound=13 so it selects the random number from the entire list.
I'm concerned about the "every file" bit though. I didn't and don't mean that this code should be in every file, but that you should create one new single skin that has this code, and ensure that that skin is always active.
I'm concerned about the "every file" bit though. I didn't and don't mean that this code should be in every file, but that you should create one new single skin that has this code, and ensure that that skin is always active.
-
- Posts: 16
- Joined: March 16th, 2018, 1:31 pm
Re: Hourly auto calendar skin change?
oh i see so it doesnt need to be in each calendar skin, just a seperate one and active. k,will do that thanks.
Last edited by Domestican on March 16th, 2018, 4:51 pm, edited 1 time in total.
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Hourly auto calendar skin change?
Right, just be sure it exists in each Layout .ini file, so, it is always reloaded when the Layout changes.Domestican wrote:oh i see so it doesnt need to be in each calendar skin, just one and active. k,will do that thanks.
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Hourly auto calendar skin change?
Each Layout .ini file should have:
You do not have the required permissions to view the files attached to this post.
-
- Posts: 16
- Joined: March 16th, 2018, 1:31 pm
Re: Hourly auto calendar skin change?
its working now, thanks so much!! if 0 is one minute - how does that determine this. so what would 10mins be or 1 hour
-
- Posts: 16
- Joined: March 16th, 2018, 1:31 pm
Re: Hourly auto calendar skin change?
Must have been a fluke, not working now stuck on layout 13 again. Iv'e made layoutloader its own skin, and added the lines to all the layout ini's via edit at saved layouts. and then loaded the layoutloader skin - layout 13 comes up after a sec and doesn't change.
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Hourly auto calendar skin change?
All I can suggest is that you double check everything.Domestican wrote:Must have been a fluke, not working now stuck on layout 13 again. Iv'e made layoutloader its own skin, and added the lines to all the layout ini's via edit at saved layouts. and then loaded the layoutloader skin - layout 13 comes up after a sec and doesn't change.
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Hourly auto calendar skin change?
You might want to exit Rainmeter and double-check all the Layout .ini files, then start Rainmeter and manually load one of them. Just to be sure something odd isn't being saved in the actual current Rainmeter.ini file.
-
- Posts: 16
- Joined: March 16th, 2018, 1:31 pm
Re: Hourly auto calendar skin change?
think this might be why, the layoutloder skin isn't remaining loaded. each time i start it up it loads a random one of my layouts but never changes, could this be why?