Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.exe error message box - Remove countdown ?
#1
Hello,

I wonder if it's possible in .exe to remove the countdown in the error messages box that pops up if we uncheck "Output to QM" in the "Make exe" dialog ?

[Image: ItcSuU.png]

Thanks in advance,
#2
Function ExeErrorMessageBoxRemoveCountdown
Code:
Copy      Help
;/

;Removes countdown from error message box.
;Call this function in exe macro, when it starts.
;To show error message box, in "Make exe" dialog uncheck "Output to QM".

;EXAMPLE
;ExeErrorMessageBoxRemoveCountdown
;0.5
;str s.getfile("-")


mac "sub.Thread"


#sub Thread
int pw pid1=GetCurrentProcessId
rep
,0.9
,int pid2 w=win
,if(w=pw) continue; else pw=w
,if GetWindowThreadProcessId(w &pid2) and pid2=pid1 and WinTest(w "#32770")
,,int c=id(65535 w)
,,if c
,,,str s.getwintext(c)
,,,if s.beg("Error (RT)") and s.end("---- click here to stop countdown ----")
,,,,s.remove(s.len-38); s.setwintext(c)
,,,,key L


Forum Jump:


Users browsing this thread: 1 Guest(s)