View Single Post
  #1002 (permalink)  
Old 03-12-2010, 07:45 PM
kain144000's Avatar
kain144000
PPCGeeks Regular
Offline
 
Join Date: Dec 2007
Posts: 82
Reputation: 0
kain144000 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
I've got a couple of Qs...

Can't believe we've finally got a decent version of Android running on the TP2, but I'd like to know a few things...

*Import pim.vol
How do I import/convert my WM contacts (pim.vol) to Android, and what & where is the Android contacts file?

*Auto adjust Backlight and Screen Dim timeouts with Mortscript
I'd made a script to disable auto adjustment and screen-dimming timeouts via
Code:
RegWriteDWord( "HKCU", "\ControlPanel\BackLight", "ACTimeout", 0)
RegWriteDWord( "HKCU", "\ControlPanel\BackLight", "ACTimeoutUnchecked", "0000003c")
RegWriteDWord( "HKCU", "\ControlPanel\BackLight", "BatteryTimeout", 0)
RegWriteDWord( "HKCU", "\ControlPanel\BackLight", "BatteryTimeoutUnchecked", "0000001e")
RegWriteDWord( "HKCU", "\ControlPanel\BackLight", "LightDetectOn", 0)
Run("\Storage Card\haret.exe")
Exit
which works flawlessly. However, to re-enable auto adjustment and screen-dimming timeouts upon StartUp via
Code:
RegWriteDWord( "HKCU", "\ControlPanel\BackLight", "LightDetectOn", 1)
RegWriteDWord( "HKCU", "\ControlPanel\BackLight", "ACTimeout", "0000003c")
RegWriteDWord( "HKCU", "\ControlPanel\BackLight", "ACTimeoutUnchecked", 0)
RegWriteDWord( "HKCU", "\ControlPanel\BackLight", "BatteryTimeout", "0000001e")
RegWriteDWord( "HKCU", "\ControlPanel\BackLight", "BatteryTimeoutUnchecked", 0)
Exit
all is restored except for the BatteryPower screen dimming timeout of :30. It always returns at :10. Any ideas?
Reply With Quote