View Single Post
  #4 (permalink)  
Old 10-27-2007, 11:48 PM
andason's Avatar
andason
Halfway to VIP Status
Offline
Location: At Home
 
Join Date: Nov 2006
Posts: 504
Reputation: 210
andason is keeping up the good workandason is keeping up the good workandason is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to andason
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)
Attached Files
File Type: zip backlight adjustment.zip (335 Bytes, 8 views) Click for barcode!
__________________
What is Today But Yesterday's Tomorrow
Remember to press for any help you may have received.



Last edited by andason; 10-28-2007 at 12:34 AM.
Reply With Quote