I am attempting my first use of the AutoIt ActiveX control from VBA from inside AutoDesk's Inventor CAD software. I first tested that the basic script commands work properly if run from outside the program. The script is simply:
WinWaitActive("Drawing View")
ControlCommand("","","SysTabControl321", "TabRight","")
ControlClick("", "", "Button16", "left", 1)
ControlClick("", "", "Button1", "left", 1)
and it works fine. But if I try to do the same thing from within VBA after sending the comm