Sign in to follow this  
Followers 0
timmalos

How to Know If a Win is Freezed?

5 posts in this topic

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

Share this post


Link to post
Share on other sites



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.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

Of Course :D but this error was because i wrote too fast :D

Tim

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0