Page 1 of 1

New AutoSelectScreen bang(s)

Posted: March 6th, 2016, 1:53 pm
by jsmorley
Added AutoSelectScreen and AutoSelectScreenGroup bangs.

These will allow you to automate setting the AutoSelectScreen option for a config or group of configs.

Which is the same as this setting in Manage:
1.png
This can be useful when using the Built-in monitor variables in a skin, to have the skin detect the change to these variables if the user drags the skin to a different monitor.

Code: Select all

[Rainmeter]
Update=100
DynamicWindowSize=1
AccurateText=1
OnRefreshAction=[!AutoSelectScreen "1"]

[MeterString]
Meter=String
FontSize=11
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=W: #SCREENAREAWIDTH# | H: #SCREENAREAHEIGHT#
DynamicVariables=1

Re: New AutoSelectScreen bang(s)

Posted: March 6th, 2016, 4:17 pm
by NighthawkSLO
Is there anything like !LoadOrder planned or even possible?

Re: New AutoSelectScreen bang(s)

Posted: March 6th, 2016, 4:21 pm
by jsmorley
NighthawkSLO wrote:Is there anything like !LoadOrder planned or even possible?
I'm not sure !LoadOrder makes a lot of sense as a bang. That is a setting that is only relevant in the context of all other skins being loaded as well, basically a full refresh of Rainmeter itself. It is not something that has any real-time effect if you just set it.

I tend to think that this is something that is best left to the control of the user, not a skin author, unless the user loads a Layout created by the author. Having a skin set the LoadOrder for all skins (*) to 0, and then force itself to the top, and doing that in a permanent way in someone's Rainmeter.ini is just not something I'm thrilled about.

Re: New AutoSelectScreen bang(s)

Posted: March 21st, 2016, 6:56 pm
by killall-q
Awesome! I've waited for something like this for a long time.