It is currently September 14th, 2024, 6:52 pm
Change skin position/layout when display orientation changes
-
- Posts: 1
- Joined: June 3rd, 2022, 2:18 am
Change skin position/layout when display orientation changes
I have a monitor which I occassionally need to rotate the screen orientation to landscape or portrait mode. Whenever the orientation changes I will have to reposition the skin on that screen. Is there any way to automatically reposition all the skins without having to manually do it?
-
- Posts: 523
- Joined: May 4th, 2020, 3:01 pm
- Location: Ankara, TURKEY
Re: Change skin position/layout when display orientation changes
You can save layouts for 2 cases separately.btr999 wrote: ↑June 3rd, 2022, 2:22 am I have a monitor which I occassionally need to rotate the screen orientation to landscape or portrait mode. Whenever the orientation changes I will have to reposition the skin on that screen. Is there any way to automatically reposition all the skins without having to manually do it?
You can change to layouts with a code.
Code: Select all
LeftMouseUpAction=[!LoadLayout "My Saved Layout"]
Code: Select all
"C:\Program Files\Rainmeter\Rainmeter.exe" !LoadLayout "My Saved Layout"
You do not have the required permissions to view the files attached to this post.
I don't know where i going from here, but i promise it won't be boring...
-
- Rainmeter Sage
- Posts: 5510
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Change skin position/layout when display orientation changes
You might want to look at RainRez 3.0
It will require some initial setup, but then it should detect the resolution change from portrait to landscape and automatically load another chosen layout.
It will require some initial setup, but then it should detect the resolution change from portrait to landscape and automatically load another chosen layout.
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Rainmeter Sage
- Posts: 2735
- Joined: March 23rd, 2015, 5:26 pm
Re: Change skin position/layout when display orientation changes
RainRez is such a great add-on, especially for laptop users! It's possible to do what this add-on does with just Rainmeter code, but this is WAY easier.eclectic-tech wrote: ↑June 3rd, 2022, 11:05 am You might want to look at RainRez 3.0
It will require some initial setup, but then it should detect the resolution change from portrait to landscape and automatically load another chosen layout.
I just wish per-resolution auto-switching layouts were a built-in part of Rainmeter itself.
Here, I'll volunteer to do the hard part: There... now the devs can do the easy bit to implement the new checkbox.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 523
- Joined: May 4th, 2020, 3:01 pm
- Location: Ankara, TURKEY
Re: Change skin position/layout when display orientation changes
Good ideaSilverAzide wrote: ↑June 3rd, 2022, 3:57 pm RainRez is such a great add-on, especially for laptop users! It's possible to do what this add-on does with just Rainmeter code, but this is WAY easier.
I just wish per-resolution auto-switching layouts were a built-in part of Rainmeter itself.
Here, I'll volunteer to do the hard part:
Layout.png
There... now the devs can do the easy bit to implement the new checkbox.
However, users should be able to specify this resolution (for unusual screen resolutions)
I don't know where i going from here, but i promise it won't be boring...