Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Window not found" error at runtime but not when run in QM
#6
If this list is generated by the exe launched from explorer, then win should find the window, and I don't know why it doesn't.
I tested with notepad, and it works.

Macro Macro2976
Code:
Copy      Help
int w=win("" "Notepad")
_s="Giulia  26-01-65   < 0 esenzioni >  ABGGLI65A64B157R - 488AP924  [DR GRG ZN]"
_s.setwintext(w)

Macro Macro2971
Code:
Copy      Help
;/exe

int w=win("[A-Z]{6}\d{2}[A-Z]\d{2}[A-Z]\d{3}[A-Z]" "notepad" "notepad" 0x200)
outw w
act w

;BEGIN PROJECT
;exe_file  $my qm$\Macro2971.exe
;END PROJECT

Then I run the exe from explorer, and it finds the window.


Messages In This Thread
RE: "Window not found" error at runtime but not when run in QM - by Gintaras - 03-02-2018, 06:25 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)