Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WatchDog Thread
#6
Would this also work?

Code:
Copy      Help
dll user32 #IsHungAppWindow hWnd
act "My Dialog"
int xWindow=win
rep
    if(IsHungAppWindow(xWindow))
        ShutDownProcess xWindow
        break
    ..

If I am using dll user32 #IsHungAppWindow hWnd in main macro and also in a function, should I also add the same line in the Function? Or having it on the main macro is good enough? The function is separate from the main macro, its a trigger.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)