Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Window not found" error at runtime but not when run in QM
#1
Hi,
my macro find a window, activates it and then executes some keyboard and mouse activities on its controls.
It works fine when run in QM, or when the exe is run in QM from the output window right after making it, but it fails when it's run by double clicking the executable from its folder. In the output window I can see the message:
"Error (RT) in arruola:  window not found (the handle is 0)."

the macro code is:
Code:
Copy      Help
int w=win("[A-Z]{6}\d{2}[A-Z]\d{2}[A-Z]\d{3}[A-Z]" "FNWND3115" "millewin" 0x200)
act w
0.2
key SF4         ;; MAIUSC+F4
0.2
key v70.5       ;; V 7 0 . 5
key Y           ;; INVIO
/etc...

Could you give me a hint on what's going wrong?

Many thanks


Messages In This Thread
"Window not found" error at runtime but not when run in QM - by zandar - 02-27-2018, 04:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)