It is currently March 28th, 2024, 12:50 pm
[Feature Request] [Bangs] Game Mode
[Feature Request] [Bangs] Game Mode
Game mode bang like !GameMode
- jsmorley
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: [Feature Request] [Bangs] Game Mode
We talked about this and decided not to do it. We believe Game mode should be entirely under the control of the end-user.
Re: [Feature Request] [Bangs] Game Mode
Then what about an automatic game mode that detects full screen applications?
- jsmorley
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: [Feature Request] [Bangs] Game Mode
No, we really think it needs to be controlled by the end-user, by using the Rainmeter tray icon.
- balala
- Rainmeter Sage
- Posts: 16109
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: [Feature Request] [Bangs] Game Mode
This has been discussed more times before. For instance: https://forum.rainmeter.net/viewtopic.php?f=129&t=33882&start=10#p167763
Re: [Feature Request] [Bangs] Game Mode
But the thing is i want to control the game mode from autohotkey and making it detect where is the rainemter icon right click it and the checking if gamemode is on or off with more color detection woulnt be that easy than just a bang
- jsmorley
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: [Feature Request] [Bangs] Game Mode
I understand fully, but we have a certain philosophy about how Rainmeter behaves, starting with the open-source nature of it, and how we manage the community here, and what we think should be in the control of skin "authors" vs. what we think should be in the control of skin "users". In this case, we just don't think it is appropriate that a skin "author" ever be able to force a user into Game mode. We think this should be an explicit action by the end-user, part of controlling the "application", not part of controlling a "skin".
Re: [Feature Request] [Bangs] Game Mode
Code: Select all
CONFIGS := []
CloseActiveConfigs(){
global CONFIGS
FileRead, OUT, C:\Users\Charlotte\AppData\Roaming\Rainmeter\Rainmeter.ini
OUT := RegExReplace(OUT, "s).*?(\[[^\n]*?\])..Active=[^0]", "$1")
OUT := RegExReplace(OUT, "s)([^\n]*]).*", "$1")
OUT := RegExReplace(OUT, "\[(.*?)]", "$1]")
CONFIGS := StrSplit(OUT, "]")
Loop % CONFIGS.MaxIndex() {
CurrentConfig := CONFIGS[A_Index]
run, C:/Program Files/Rainmeter/Rainmeter.exe !DeactivateConfig %CurrentConfig%
}
}
OpenClosedConfigs(){
global CONFIGS
Loop % CONFIGS.MaxIndex() {
CurrentConfig := CONFIGS[A_Index]
run, C:/Program Files/Rainmeter/Rainmeter.exe !ActivateConfig %CurrentConfig%
}
}
F4::exitapp
F11::CloseActiveConfigs()
F12::OpenClosedConfigs()