balala wrote: ↑December 12th, 2021, 7:21 pm
In fact with this OnRefreshAction the skin isn't placed exactly to the center of screen. This way the upper left corner of the skin will be in the center of screen. To move it in center, replace the last two parameters of 0% (AnchorX and AnchorY) with 50%: OnRefreshAction=[!SetWindowPosition "50%" "50%" "50%" "50%"]. This way you get the center of skin in the center of screen.
Of course. The offset. Neglected to recall that properly.
This way does not require the skin to be really big, and will only reposition after a !Refresh is called or when the skin initially loads.