| 
			
			for example.. unzip this and place it on your ppc at \windows\start menu\programs
 then go to buttons in settings and tie a button to it.
 
 you will need to also install mortscript for this to work.
 
 
 #Script to change backlight settings
 #Read registry settings
 Brightness = RegRead ("HKCU", "ControlPanel\Backlight", "Brightness")
 ACBrightness = RegRead ("HKCU", "ControlPanel\Backlight", "ACBrightness")
 
 #Turn on the lights
 RegWriteDword ("HKCU", "ControlPanel\Backlight", "Brightness", 10)
 RegWriteDword ("HKCU", "ControlPanel\Backlight", "ACBrightness", 10)
 
 #Sleep for a little while
 Sleep(50000)
 
 
 #Turn the lights back to original
 RegWriteDword ("HKCU", "ControlPanel\Backlight", "Brightness", Brightness)
 RegWriteDword ("HKCU", "ControlPanel\Backlight", "ACBrightness", ACBrightness)
 
				 Last edited by andason; 10-28-2007 at 12:34 AM.
 |