Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.exe error message box - Remove countdown ?
#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


Messages In This Thread
RE: .exe error message box - Remove countdown ? - by Gintaras - 04-16-2021, 11:00 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)