Making a skin that has a vertical line drawn.
Trying to make the height of the line adapt to the resolution of the screen the skin is on.
H=#SCREENAREAHEIGHT# + AutoSelectScreen=1 works but i want to set AutoSelectScreen to 1 on refresh action.
I want to do this because if the skin is installed on a new system i wouldt have to go into Rainmeter.ini to add the line.
OnRefreshAction=[!AutoSelectScreen "1" "ConfigName"] certainly does work. If you check Rainmeter.ini for the config in question after, you will find AutoSelectScreen=1.
For some reason it just don't work. Tried to apply AutoSelectScreen to different skins too but nothing happens in Rainmeter.ini
Also, sublime text does not highlight !AutoSelectScreen as it does !SetTransparency.
autoselect.png
You do not have the required permissions to view the files attached to this post.
For my skin !AutoSelectScreen works. I have used OnRefreshAction=[!AutoSelectScreen "1" "#CURRENTCONFIG#"] and in Rainmeter.ini under skin name section there is
AutoSelectScreen=1
StArL0rd84 wrote:Also, sublime text does not highlight !AutoSelectScreen as it does !SetTransparency.
That does not depend from Rainmeter but that is because !AutoSelectScreen is not used in a syntax highlighting stuff.
I am using 2 monitors. And I THINK I am running Rainmeter 3,3. I'll look into it when I get home from work today. And yeah I should really use the log more often.