Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is EXE or Window Frozen
#1
Is there a way to check to see if something is frozen?

like check to see if qm is frozen or check to see if the internet explorer page isnt responding?
#2
When a program is not responding >= 5 s, it is considered hung. Then Windows adds a ghost window on top of the hung window so you can move it or terminate the program.

Code:
Copy      Help
if(IsHungWindow(win("Quick Macros" "QM_Editor"))=1)
,out "qm hung"

When a web page is loading too long, it is different. Let the macro wait while IE is busy for certain time...

Code:
Copy      Help
wait 5 I; err out "still loading"
#3
i dont seem to have the IsHungWindow function ?
#4

IsHungWindow


Is not a function, if it was then it would be blue.

IsHungWindow

Or do you mean that it's just not working for you?
Taking on Quick Macros one day at a time
#5
Thats wut i meant lol didnt mean to say function sorry yes its not working! its not red like i think it shud be
#6

Could you post your code? Maybe you mistyped it or miscopied it or something.
Taking on Quick Macros one day at a time
#7
This Code:
Macro ( Macro )
Code:
Copy      Help
if(IsHungWindow(win("Quick Macros" "QM_Editor"))=1)
,out "qm hung"

This Error: Error in Macro: unknown identifier.

Highlights: IsHungWindow
#8

What version of QM are you using? Try downloading the latest version.


Download QM 2.2.1 beta (2.2.1.3). Released December 14, 2007.

http://www.quickmacros.com/history.html
Taking on Quick Macros one day at a time
#9
OK Ty bro that worked! Smile
#10

Yep, np.
Taking on Quick Macros one day at a time
#11
can IsHungWindow be used as trigger function ?
pi
#12
Quote:can IsHungWindow be used as trigger function ?

Call it repeatedly...


Forum Jump:


Users browsing this thread: 2 Guest(s)