Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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

I see that :D

I think you meant "Oh Thanks a lot" :D

Cheers, FireFox.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...