Public static extern int ChangeDisplaySettings(ref DEVMODE1 devMode, int flags) Public static extern int EnumDisplaySettings(string deviceName, int modeNum, ref DEVMODE1 devMode) The RR+AB was abandoned because I found Nvidia Injector easier to use. The latter was dropped because of difficulty on personalising settings for each particular device (We could only get it to work on 1 device, the timings on the other never matched). There were attempts to make a script to switch refresh rates, open or close AB to set OC according to power status and turn on and off SteelSeries RGB. xml files into task scheduler and modify directories accordingly
Open Tash Scheduler and choose IMPORT TASK on the right-hand side.Determine Power profile and trigger refresh rate accordingly.Will run PowerShell command to identify if on AC or Battery.System_Microsoft-Windows-Kernel-Power_105.xml.