PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Touch Pro 2 (http://forum.ppcgeeks.com/forumdisplay.php?f=97)
-   -   Mortscript question . Is my scripting right ? (http://forum.ppcgeeks.com/showthread.php?t=139320)

elesbb 01-07-2011 01:56 PM

Mortscript question . Is my scripting right ?
 
While(1)
WaitForActive("ThrottleLock",-1)
RegWriteDWord("HKLM","System\State","Lock",1)
WaitFor("ThrottleLock",-1)
RegWriteDWord("HKLM","System\State","Lock",0)
EndWhile

Alright what happens is , when first launched it does exactly what its supposed to . when i standby the reg entry goes to 1 .. when i unlock it changes to 0 . My question is why after awhile of having it running does it take forever for it to put the reg entry back to zero ? i manually put it to zero and relocked my phone and it imediatly goes back to one .. like its supposed to .. but it seems when it changes it to zero that it takes forever .. why is this ?

drewcam888 01-07-2011 03:05 PM

Re: Mortscript question . Is my scripting right ?
 
Sorry but I am no help on this particular script. Why would you go through this trouble it seems your lock screen should do this automatically.

elesbb 01-07-2011 03:14 PM

Re: Mortscript question . Is my scripting right ?
 
Throttle lock for some reason doesnt .


All times are GMT -4. The time now is 01:22 AM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0