xo0p Posted January 17, 2012 Share Posted January 17, 2012 $File = FileOpen(@ScriptDir & '\killtask.bat', 2) FileWrite($File, 'taskkill /f /fi "status eq not responding"') FileClose($File) While Sleep(60000) RunWait(@ScriptDir & '\killtask.bat', @SystemDir, @SW_HIDE) WEnd would While Sleep(60000) be in milliseconds? meaning that would be 60 seconds. or would that be 10 min? Link to comment Share on other sites More sharing options...
Chimaera Posted January 17, 2012 Share Posted January 17, 2012 Sleep works in millisecondsSleep works as a timer which stops all processes related to the script for x milliseconds where x is an integer. Maximum sleep time of 2147483647 milliseconds (24 days) 1 minute = 60000ms If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
xo0p Posted January 18, 2012 Author Share Posted January 18, 2012 Sleep works in millisecondsSleep works as a timer which stops all processes related to the script for x milliseconds where x is an integer. Maximum sleep time of 2147483647 milliseconds (24 days) 1 minute = 60000msty much Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now