View Single Post
  #3 (permalink)  
Old 05-07-2010, 06:55 PM
studentjunk's Avatar
studentjunk
PPCGeeks Regular
Offline
 
Join Date: Sep 2007
Posts: 204
Reputation: 185
studentjunk is keeping up the good workstudentjunk is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: GSensor AutoRotation registry key keeps resetting to 0

Download and install mortscript.

Edit this script, save it to an mscr file, and run it. It will reset the settings and reset the phone. If you don't want to reset the phone, change 'reset' to 'exit'.
Quote:
regwritedword("hkcu","Software\HTC\HTCSENSOR\GSens or","AutoRotation", "90")
reset

You can also add a provision to get it to run every day if you want. Change the path to the script location and name below.

Quote:
#rerun to set it to run at 2am tomrrow
Rerun = Timestamp()/86400*86400+86400+10800
runat(rerun, "\Storage Card\SASHIMI\Auto\Root\Windows\autorotate.mscr")
SleepMessage(3, "script completed.^NL^Click Ok^NL^Your script should run tomorrow", ThisScriptName, 1)

If you use that rerun script, then you'd have to put a call in the autorotation script too to run the rerun script:
Quote:
run("path of rerun\rerun.mscr")

I of course can't guarantee that these work cause I haven't tried them. Unfortunately, I don't know what's causing your problem, but these can at least simply the regedits.

Last edited by studentjunk; 05-07-2010 at 06:58 PM.
Reply With Quote