View Single Post
  #1 (permalink)  
Old 01-07-2011, 01:56 PM
elesbb's Avatar
elesbb
Super genious in training
Offline
Location: PA
 
Join Date: Jun 2010
Posts: 1,198
Reputation: 1600
elesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on rep
Mentioned: 42 Post(s)
Tagged: 0 Thread(s)
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 ?
Reply With Quote