x = regread ( "HKLM", "Software\GigabyteCM\LCDBacklight", "BatteryPower") If ( x = 327 ) RegWriteDWord ( "HKLM", "Software\GigabyteCM\LCDBacklight", "BatteryPower", "1023") Else RegWriteDWord ( "HKLM", "Software\GigabyteCM\LCDBacklight", "BatteryPower", "327") Endif ToggleDisplay(off) ToggleDisplay(on) Exit