I'm able to fit the skins neatly in the lower right corner by the clock by using the #SCREENAREAHEIGHT# and #SCREENAREAWIDTH# variables in my rainmeter.ini, but the problem is that about half of our users have laptops that are frequently docked and undocked from larger monitors, thus changing the resolution while rainmeter is running. For example, when some one is docked with resolution 1920x1080 and they undock and go down to the laptop's native 1366x768 resolution rainmeter disappears and resides off-screen. Conversely, if they are undocked and it's in the corner while at 1366x768 and docking brings it to 1920x1080 the skins end up near the middle of the screen.
I can use the !refreshapp bang command to help with that issue, in fact, I have a startup script that runs that command every 15 seconds, but it's not always reliable that the script is going to continue running (I haven't explored too much as to why yet), but I'm curious if I'm going about this the wrong way.
TL;DR
Is there an auto-refresh feature in Rainmeter, or does it have a way to detect when the resolution changes and re-position the skins accordingly? Below is my ini files that I am using, hope that helps. Any help is appreciated.
Rainmeter.ini
Code: Select all
[Rainmeter]
Logging=0
[MeasureScreenWidth]
Measure=Plugin
Plugin=SysInfo
SysInfoType=SCREEN_WIDTH
SysInfoData=1
[MeasureScreenHeight]
Measure=Plugin
Plugin=SysInfo
SysInfoType=SCREEN_HEIGHT
SysInfoData=1
[SysInfo\SysInfo]
Active=1
WindowX=(#SCREENAREAWIDTH#-200)
WindowY=(#SCREENAREAHEIGHT#-87)
ClickThrough=1
Draggable=0
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=-1
AutoSelectScreen=0
SavePosition=0
[SysInfo\Logo]
Active=1
WindowX=(#SCREENAREAWIDTH#-200)
WindowY=(#SCREENAREAHEIGHT#-268)
ClickThrough=1
Draggable=0
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=-1
SavePosition=0
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=0
SkinWidth=256
SkinHeight=47
BackgroundMode=2
SolidColor=0,0,0,150
[MeasureIPAddress]
Measure=Plugin
Plugin=SysInfo
SysInfoType=IP_ADDRESS
SysInfoData=Best
DynamicVariables=1
[MeasureUserName]
Measure=Plugin
Plugin=SysInfo
SysInfoType=USER_NAME
[MeasureUptime]
Measure=UpTime
Format="%4!i! days, %3!i! hours, %2!i! minutes %1!i! seconds"
[MeterIPAddress]
Meter=String
MeasureName=MeasureIPAddress
FontSize=8
FontColor=255,255,255,255
AntiAlias=1
Text=IP Address: %1
[MeterUserName]
Meter=String
MeasureName=MeasureUserName
FontSize=8
FontColor=255,255,255,255
AntiAlias=1
Text=User Name: %1
Y=2R
[MeterUptime]
Meter=String
MeasureName=MeasureUptime
FontSize=8
FontColor=255,255,255,255
AntiAlias=1
Text="Uptime: %1"
Y=3R
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
BackgroundMode=2
SolidColor=0,0,0,0
[MeasureMyPictures]
Measure=Plugin
Plugin=QuotePlugin
PathName=C:\Rainmeter
Subfolders=0
FileFilter=*.jpg;*.gif;*.bmp;*.png
UpdateDivider=10
[MeterShowPicture]
Meter=Image
MeasureName=MeasureMyPictures
X=25
Y=25
W=256
H=200
PreserveAspectRatio=1
LeftMouseUpAction=[!Refresh]