timmalos Posted September 9, 2009 Posted September 9, 2009 Hi everybody. I wanted to know if a win is freezed or not. For example, when i do a _IeCreate("") sometimes Internet Explorer doesn't return the hand. I tried something like to know if there was enought operations: $t = TimerInit() Dim $1[6] While $1[3] <= 10000 Sleep(100) $1 = ProcessGetStats("iexplore.exe",1) If TimerDiff($t) >= 30000 Then ExitLoop EndIf WEnd But the value of $1[3] depends on the computer (i have 3000 on a computer and 100000 on another for example) Is there another possibility to know if the program is freezed (in order to Exit My AutoitScript and Reload) or not (Continue the script)? Thx A lot Tim
FireFox Posted September 9, 2009 Posted September 9, 2009 Hi everybody. I wanted to know if a win is freezed or not. For example, when i do a _IeCreate("") sometimes Internet Explorer doesn't return the hand. I tried something like to know if there was enought operations: $t = TimerInit() Dim $1[6] While $1[3] <= 10000 Sleep(100) $1 = ProcessGetStats("iexplore.exe",1) If TimerDiff($t) >= 30000 Then ExitLoop EndIf WEnd But the value of $1[3] depends on the computer (i have 3000 on a computer and 100000 on another for example) Is there another possibility to know if the program is freezed (in order to Exit My AutoitScript and Reload) or not (Continue the script)? Thx A lot Tim Maybe... http://www.autoitscript.com/forum/index.php?showtopic=19370&st=40&p=186784&#entry186784 Cheers, FireFox.
timmalos Posted September 9, 2009 Author Posted September 9, 2009 Oh Think a lot I used the function 'Search' but I don't speak well English and i didn't know the word Hung. Regards, Tim
FireFox Posted September 9, 2009 Posted September 9, 2009 Oh Think a lotI used the function 'Search' but I don't speak well English and i didn't know the word Hung.Regards,TimI see that I think you meant "Oh Thanks a lot" Cheers, FireFox.
timmalos Posted September 9, 2009 Author Posted September 9, 2009 Of Course but this error was because i wrote too fast Tim
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