It is currently October 6th, 2024, 12:29 pm

RainRez 3.0

Plugins and Addons popular with the Community
User avatar
SilverAzide
Rainmeter Sage
Posts: 2742
Joined: March 23rd, 2015, 5:26 pm

Re: RainRez 3.0

Post by SilverAzide »

teiji wrote: January 10th, 2023, 6:47 pm The shortcut method didn't work. It still gives the same error when running the shortcut from Task Scheduler. Maybe I'll make a separate topic to solve my skin issue instead. lol
Hm, that's unfortunate. I didn't try it myself (obviously), but I'm surprised it didn't work. Perhaps there is something odd about the way scheduled tasks are run. Short of a program fix, I'm out of ideas, sorry!
Gadgets Wiki GitHub More Gadgets...
EtZ
Posts: 5
Joined: August 6th, 2024, 1:28 pm

Re: RainRez 3.0

Post by EtZ »

I can't seem to get it to work. It always goes to the default layout no matter what resolution I have it on. I didn't change anything except add to the cfg file. When I connect to my 3440x1440 monitor it doesn't switch layouts from the default. What do I do?
User avatar
SilverAzide
Rainmeter Sage
Posts: 2742
Joined: March 23rd, 2015, 5:26 pm

Re: RainRez 3.0

Post by SilverAzide »

EtZ wrote: August 6th, 2024, 1:31 pm I can't seem to get it to work. It always goes to the default layout no matter what resolution I have it on. I didn't change anything except add to the cfg file. When I connect to my 3440x1440 monitor it doesn't switch layouts from the default. What do I do?
Is RainRez running? Also, post your .cfg file.
Gadgets Wiki GitHub More Gadgets...
EtZ
Posts: 5
Joined: August 6th, 2024, 1:28 pm

Re: RainRez 3.0

Post by EtZ »

SilverAzide wrote: August 6th, 2024, 2:47 pm Is RainRez running? Also, post your .cfg file.
Yes, it's running. This is the CFG file:

[RainRez]
RainmeterPath=C:\Program Files\Rainmeter\Rainmeter.exe
Default=3440x1440
1920x1080=1920x1080
3440x1440=3440x1440

I named them the actual resolutions on the layouts.
User avatar
SilverAzide
Rainmeter Sage
Posts: 2742
Joined: March 23rd, 2015, 5:26 pm

Re: RainRez 3.0

Post by SilverAzide »

EtZ wrote: August 6th, 2024, 3:20 pm Yes, it's running. This is the CFG file:

[RainRez]
RainmeterPath=C:\Program Files\Rainmeter\Rainmeter.exe
Default=3440x1440
1920x1080=1920x1080
3440x1440=3440x1440

I named them the actual resolutions on the layouts.
Did you try setting the RainmeterPath line to RainmeterPath=C:\Program Files\Rainmeter? You don't need the actual exectable name, just the path to it.
Gadgets Wiki GitHub More Gadgets...
EtZ
Posts: 5
Joined: August 6th, 2024, 1:28 pm

Re: RainRez 3.0

Post by EtZ »

SilverAzide wrote: August 6th, 2024, 4:21 pm Did you try setting the RainmeterPath line to RainmeterPath=C:\Program Files\Rainmeter? You don't need the actual exectable name, just the path to it.
Yes, I changed it to the executable after I tried that and it didn't work.
User avatar
SilverAzide
Rainmeter Sage
Posts: 2742
Joined: March 23rd, 2015, 5:26 pm

Re: RainRez 3.0

Post by SilverAzide »

EtZ wrote: August 6th, 2024, 4:35 pm Yes, I changed it to the executable after I tried that and it didn't work.
If that's the case, then it ought to work. Not sure why it is failing. The RainRez author will have to chime in.

That said, it is not necessary to use a third-party executable to switch layouts. You can easily create an invisible "layout switcher" skin that can detect your screen resolution and switch between layouts.
Gadgets Wiki GitHub More Gadgets...
EtZ
Posts: 5
Joined: August 6th, 2024, 1:28 pm

Re: RainRez 3.0

Post by EtZ »

SilverAzide wrote: August 6th, 2024, 4:50 pm If that's the case, then it ought to work. Not sure why it is failing. The RainRez author will have to chime in.

That said, it is not necessary to use a third-party executable to switch layouts. You can easily create an invisible "layout switcher" skin that can detect your screen resolution and switch between layouts.
Where can I find how to do that?
User avatar
Yincognito
Rainmeter Sage
Posts: 8358
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: RainRez 3.0

Post by Yincognito »

EtZ wrote: August 6th, 2024, 4:53 pm Where can I find how to do that?
Short version, in order of usage:
https://docs.rainmeter.net/manual/variables/built-in-variables/#MonitorVariables
https://docs.rainmeter.net/manual/measures/calc/
https://docs.rainmeter.net/manual/measures/general-options/ifconditions/
https://docs.rainmeter.net/manual/bangs/#LoadLayout
The IfCondition(s) would typically be attached to some Calc measure getting the resolution based on the preferred built-in monitor variables (I think you could just multiply the resolution's horizontal and vertical parts). Or, you could concatenate those the strings of those parts and use an IfMath instead:
https://docs.rainmeter.net/manual/measures/general-options/ifmatchactions/
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
EtZ
Posts: 5
Joined: August 6th, 2024, 1:28 pm

Re: RainRez 3.0

Post by EtZ »

Yincognito wrote: August 6th, 2024, 6:38 pm Short version, in order of usage:
https://docs.rainmeter.net/manual/variables/built-in-variables/#MonitorVariables
https://docs.rainmeter.net/manual/measures/calc/
https://docs.rainmeter.net/manual/measures/general-options/ifconditions/
https://docs.rainmeter.net/manual/bangs/#LoadLayout
The IfCondition(s) would typically be attached to some Calc measure getting the resolution based on the preferred built-in monitor variables (I think you could just multiply the resolution's horizontal and vertical parts). Or, you could concatenate those the strings of those parts and use an IfMath instead:
https://docs.rainmeter.net/manual/measures/general-options/ifmatchactions/
Sorry, I'm really lost. Could I have an example code and where to put it?