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 ?
|