![]() |
Setting back light adjust to a hard button
I am looking for a way to set one of my hard buttons to adjust my back light on my Mogul. Either something that would cycle through multiple settings or a toggle from where I currently am to max backlight would be ideal. I have searched and found http://forum.ppcgeeks.com/showthread...cklight+button but I was hoping for a way to do this without running spb mobile shell or pocket plus seeing the only function I really want from them is a back light hard button.
Any help is greatly appreciated. |
Is there no other way to do what I want except with Spb products?
|
you could write a mortscript script to write registry values to adjust the backlight to max and tie it to a hard button.
http://www.sto-helit.de/index.php?mo...=list&entry=20 |
1 Attachment(s)
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) |
1 Attachment(s)
mortscript
|
Ive been trying to do this same thing with my ppc 6700 will this work for me?
|
sure thang.. it will adjust the settings to max.. and then after 50 secs readjust back to what they were. you can adjust the sleep to lengthen or decrease the amount of time to adjust back or delete the last two writedword lines and delete the sleep line to keep it at max until you manually adjust the backlight again.
|
sweet!!! im going to try it right now thanks!!!!
|
So even though this is a registry edit, you don't have to soft reset the device for it to take effect?
|
soft reset is not needed.
|
All times are GMT -4. The time now is 05:45 AM. |
Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com