It is currently April 24th, 2024, 10:45 pm

Help With Layouts

Get help with creating, editing & fixing problems with skins
User avatar
jsmorley
Developer
Posts: 22629
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: 908
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: 1366
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

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.
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
User avatar
balala
Rainmeter Sage
Posts: 16168
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.