Hello,
Relating to my previous post I figured out the program (qad client) I started returns wrong handle and that prevents further addressing of controls etc.
This is how I open the qad client and various methods I try to get the handle:
Opt("WinTitleMatchMode", 4)
Local $hPID = Run("C:\Program Files (x86)\QAD\QAD Enterprise Applications 2011 SE\QAD.Applications.exe")
Sleep(4000)
Local $hWnd = WinGetHandle("[CLASS:WindowsForms10.Window.8.app.0.2