It is currently March 28th, 2024, 12:23 pm

Hourly auto calendar skin change?

Get help with creating, editing & fixing problems with skins
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Hourly auto calendar skin change?

Post by jsmorley »

Domestican wrote: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?
Sounds like you need to edit each of the Layout .ini files that are saved in C:\Users\YourName\AppData\Roaming\Rainmeter\Layouts, and be sure that the [LayoutLoader] section is actually there in each of them, and that it has Active=1 set in it.

You want that LayoutLoader skin to always be running.
Domestican
Posts: 16
Joined: March 16th, 2018, 1:31 pm

Re: Hourly auto calendar skin change?

Post by Domestican »

So all i need to do is add:
[Layoutloader]
Active=1

to each one?
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Hourly auto calendar skin change?

Post by jsmorley »

Domestican wrote:So all i need to do is add:
[Layoutloader]
Active=1

to each one?
Yes, although to be consistent with what is added when you actually load a skin, I would ensure that:

Code: Select all

[LayoutLoader]
Active=1
WindowX=0
WindowY=0
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
Is actually there, or if not add it, to each Layout .ini file.
Domestican
Posts: 16
Joined: March 16th, 2018, 1:31 pm

Re: Hourly auto calendar skin change?

Post by Domestican »

k its definitely working properly now, changing each min. how do i change it to each hour? what do i change format=0 to?
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Hourly auto calendar skin change?

Post by jsmorley »

Domestican wrote:k its definitely working properly now, changing each min. how do i change it to each hour? what do i change format=0 to?
Change it to:

Format=%#M

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

You want it to be triggered when the minute (%#M) and second (%#S) are both at zero.
Domestican
Posts: 16
Joined: March 16th, 2018, 1:31 pm

Re: Hourly auto calendar skin change?

Post by Domestican »

How can i make it change every 10 mins?
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Hourly auto calendar skin change?

Post by jsmorley »

Domestican wrote:How can i make it change every 10 mins?

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[Variables]

[MeasureMinute]
Measure=Time
Format=%M
[MeasureSecond]
Measure=Time
Format=%S

[MeasureOn10Minute]
Measure=Calc
IfCondition=((MeasureMinute % 10) = 0) && (MeasureSecond = 0)
;IfTrueAction=[!LoadLayout "[#Layout[&MeasureRandom]]"]
DynamicVariables=1

[MeterTime]
Meter=String
MeasureName=MeasureMinute
MeasureName2=MeasureSecond
FontSize=11
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=%1:%2
Just set the IfTrueAction to whatever you need. The point is to check if the number of current minutes can be evenly divided by 10. So this would fire on 0/10/20/30/40/50 minutes.
Domestican
Posts: 16
Joined: March 16th, 2018, 1:31 pm

Re: Hourly auto calendar skin change?

Post by Domestican »

thanks
Domestican
Posts: 16
Joined: March 16th, 2018, 1:31 pm

Re: Hourly auto calendar skin change?

Post by Domestican »

since editing its stopped changing - this is what i have:

Code: Select all

[Rainmeter]
SkinPath=C:\Users\user\Documents\Rainmeter\Skins\
Logging=0
Update=1000
DynamicWindowSize=1

[Variables]
Layout1=Akino - DxD		
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
layout14=Konosuba - Darkness
layout15=Asuna
layout16=Naruse
layout17=Makise
layout18=Korra
layout19=Hinata - Naruto
layout20=Satellizer el bridget
layout21=Faye	
layout22=Naruto
layout23=Revy
layout24=Kagura
layout25=Sa-Chan (Gintama)
layout26=Maho - Beck
layout27=MissWarmJ
layout28=Masamune-kun's Revenge
layout29=Nana
layout30=Violet Evergarden

[MeasureRandom]
Measure=Calc
Formula=Random
LowBound=1
HighBound=30
UpdateDivider=-1

[MeasureMinute]
Measure=Time
Format=%M
[MeasureSecond]
Measure=Time
Format=%S

[MeasureOn10Minute]
Measure=Calc
IfCondition=((MeasureMinute % 10) = 0) && (MeasureSecond = 0)
;IfTrueAction=[!LoadLayout "[#Layout[&MeasureRandom]]"]
DynamicVariables=1


[MeterTime]
Meter=String
MeasureName=MeasureMinute
MeasureName2=MeasureSecond
FontSize=11
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=%1:%2


[Fountain of Colors]
Active=1
WindowX=0
WindowY=560
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=-1
LoadOrder=0
[TES V - Skyrim v2\CPU Bar]
Active=2
WindowX=923
WindowY=862
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[TES V - Skyrim v2\HDD Bar\Bar 1]
Active=1
WindowX=702
WindowY=11
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[TES V - Skyrim v2\RAM Bar]
Active=2
WindowX=494
WindowY=862
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[TES V - Skyrim v2\Shutdown]
Active=1
WindowX=1267
WindowY=864
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HatsuneMikuCalendar2]
Active=1
WindowX=997
WindowY=28
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[9.Fuuka - Calendar]
Active=1
WindowX=1118
WindowY=497
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[LayoutLoader]
Active=1
WindowX=0
WindowY=0
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[TranslucentTaskbar]
Active=1
WindowX=0
WindowY=0
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[Simple Media\DateTime]
Active=5
WindowX=819
WindowY=39
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\2D Design]
Active=1
WindowX=297
WindowY=21
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\2DDesign]
Active=1
WindowX=495
WindowY=705
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\BDO]
Active=1
WindowX=897
WindowY=772
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\Chivalry]
Active=1
WindowX=824
WindowY=772
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\chrome]
Active=1
WindowX=12
WindowY=774
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\DDLitClub]
Active=1
WindowX=750
WindowY=772
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\Discord]
Active=1
WindowX=198
WindowY=705
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\Dishonored2]
Active=1
WindowX=714
WindowY=705
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\ESO]
Active=1
WindowX=606
WindowY=772
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\facebook]
Active=1
WindowX=159
WindowY=774
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\Fallout4]
Active=1
WindowX=678
WindowY=772
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\Krita]
Active=1
WindowX=384
WindowY=774
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\mail]
Active=1
WindowX=123
WindowY=705
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\NMM]
Active=1
WindowX=348
WindowY=705
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\photoshop]
Active=1
WindowX=423
WindowY=705
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\Quake Champions]
Active=1
WindowX=936
WindowY=705
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\SketchUp]
Active=1
WindowX=456
WindowY=772
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\spotify]
Active=1
WindowX=273
WindowY=705
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\SSE]
Active=1
WindowX=567
WindowY=705
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\steam]
Active=1
WindowX=309
WindowY=774
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\SWTOR]
Active=1
WindowX=642
WindowY=705
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\T&T]
Active=1
WindowX=858
WindowY=705
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\tf2]
Active=1
WindowX=786
WindowY=705
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\Warframe]
Active=1
WindowX=534
WindowY=772
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\youtube]
Active=1
WindowX=234
WindowY=774
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\TimerResolution]
Active=1
WindowX=897
WindowY=772
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\RecycleBin]
Active=1
WindowX=48
WindowY=705
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[HONEYCOMB + GGL\ThisPC]
Active=1
WindowX=84
WindowY=774
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
[Akino_dxd - Calendar]
Active=1
WindowX=948
WindowY=560
ClickThrough=0
Draggable=1
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=0
Last edited by Brian on August 1st, 2018, 2:22 am, edited 1 time in total.
Reason: Please use [code] tags.
User avatar
DanDaBear
Posts: 109
Joined: February 23rd, 2018, 3:12 am
Location: United States

Re: Hourly auto calendar skin change?

Post by DanDaBear »

You need to remove the semi-colon (;) from in front of the IfTrueAction:

[MeasureOn10Minute]
Measure=Calc
IfCondition=((MeasureMinute % 10) = 0) && (MeasureSecond = 0)
;IfTrueAction=[!LoadLayout "[#Layout[&MeasureRandom]]"]
DynamicVariables=1
Post Reply