It is currently September 14th, 2024, 9:57 pm

Layout Switcher 1.0.0

Skins that control functions in Windows or Rainmeter
User avatar
SilverAzide
Rainmeter Sage
Posts: 2736
Joined: March 23rd, 2015, 5:26 pm

Layout Switcher 1.0.0

Post by SilverAzide »

Layout Switcher

An automatic Rainmeter layout switcher based on screen resolution. If you have a laptop or a multiple monitor setup and switch screen resolutions frequently, this skin is made for you. This skin will swap between your Rainmeter layouts based on the desktop resolution of your monitor(s).

Layout Switcher_1.0.0.rmskin



Instructions
  1. Download and install the Layout Switcher .rmskin attached above. For simplicity, make sure the Load included skins option is checked when installing.
  2. Click the Rainmeter tray icon to open the Manage Rainmeter dialog. Select the Skins tab. If the "Layout Switcher" skin is not already loaded after installing, open the "Layout Switcher" folder, select the "Layout Switcher.ini" skin, then click the Load button.
    • PLEASE NOTE: this skin has NO INTERFACE. Nothing will appear on screen, but the skin will be running. The skin can only be loaded or unloaded through the Manage dialog.
    LayoutSwitcher1.png
  3. From the Manage Rainmeter dialog, select the Layouts tab.
  4. After ensuring all your preferred skins are loaded and in the locations you want, save your current layout with the name Layout_{screen width}x{screen height}. For example, if your screen resolution is 1920x1080, then your layout must be Layout_1920x1080. The Layout Switcher skin MUST be active when you do this; do not unload it.
    • TIP: If you want a different wallpaper for each resolution, switch your wallpaper before saving the layout and be sure to check the Include current wallpaper option.
    LayoutSwitcher2.png
  5. Change your screen resolution to another format. Rearrange all your skins to place them in the positions you want, adding or removing skins as needed. The Layout Switcher skin MUST be left active; do not unload it. Again save your current layout with the name Layout_{screen width}x{screen height}. Repeat this step for as many screen resolutions as you need or for as many monitors as you have.
  6. Once you have saved a layout for every possible screen resolution your system normally uses, then you are done. When the Layout Switcher detects a change to your screen resolution, it will wait 10 seconds then switch to the proper layout.



Q & A

Question: Why wait 10 seconds before switching layouts?

Answer: If you have a lot of skins that fetch data from websites, switching skins quickly can cause Rainmeter to become unstable due to repeatedly querying the sites. For example, if you close and quickly reopen your laptop screen, without some delay this will cause multiple layouts to be swapped in rapid succession. By adding a slight delay before switching, this can prevent stability issues.
You do not have the required permissions to view the files attached to this post.
Gadgets Wiki GitHub More Gadgets...