It is currently October 27th, 2020, 3:08 am

Help With Layouts

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

Re: Help With Layouts

Post by jsmorley »

Not saying it's an issue in this case, but in general I get a slightly creepy sensation any time I see !LoadLayout used in any kind of "test", like IfCondition or IfMatch or OnChange, and not something manual like LeftMouseUpAction. The risk of an endless loop quickly rears its ugly head if you are not really careful. Keep in mind that nothing survives a !LoadLayout that isn't physically written to the .ini file.
mak_kawa
Posts: 905
Joined: December 30th, 2015, 9:47 am

Re: Help With Layouts

Post by mak_kawa »

Hi BillNoMind

As you see, "my idea" was just the result of my thoughtlessness, sorry. I want to withdraw them. Please don't try them actually. LeftMouseUpAction seems to be the safe way.
User avatar
CodeCode
Posts: 129
Joined: September 7th, 2020, 2:24 pm

Re: Help With Layouts

Post by CodeCode »

It would certainly be bad to have your Layouts rapid cycling continuously.

Sorry about suggesting the !Refresh Bang. Like jsmorley said as well as balala, after !LoadLayout the entire set up is changed and all skins are reloaded as a direct result making any daisy-chained commands pointless.
Can't fix it if it ain't broke - unless it is in code.
User avatar
balala
Rainmeter Sage
Posts: 11634
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help With Layouts

Post by balala »

mak_kawa wrote: September 10th, 2020, 12:36 pm As you see, "my idea" was just the result of my thoughtlessness, sorry.
Don't worry, it happens to all of us, I suppose from time to time.