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!
It is currently October 6th, 2024, 1:22 pm
RainRez 3.0
-
- Rainmeter Sage
- Posts: 2742
- Joined: March 23rd, 2015, 5:26 pm
Re: RainRez 3.0
-
- Posts: 5
- Joined: August 6th, 2024, 1:28 pm
Re: RainRez 3.0
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?
-
- Rainmeter Sage
- Posts: 2742
- Joined: March 23rd, 2015, 5:26 pm
-
- Posts: 5
- Joined: August 6th, 2024, 1:28 pm
Re: RainRez 3.0
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.
-
- Rainmeter Sage
- Posts: 2742
- Joined: March 23rd, 2015, 5:26 pm
Re: RainRez 3.0
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.
-
- Posts: 5
- Joined: August 6th, 2024, 1:28 pm
Re: RainRez 3.0
Yes, I changed it to the executable after I tried that and it didn't work.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.
-
- Rainmeter Sage
- Posts: 2742
- Joined: March 23rd, 2015, 5:26 pm
Re: RainRez 3.0
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.
-
- Posts: 5
- Joined: August 6th, 2024, 1:28 pm
Re: RainRez 3.0
Where can I find how to do that?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.
-
- Rainmeter Sage
- Posts: 8358
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: RainRez 3.0
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/
-
- Posts: 5
- Joined: August 6th, 2024, 1:28 pm
Re: RainRez 3.0
Sorry, I'm really lost. Could I have an example code and where to put it?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/