#Include <WinAPI.au3>
local $ClassName = _WinAPI_GetClassName(WinGetHandle(WinGetTitle("[ACTIVE]")))
ControlClick(WinGetTitle("[ACTIVE]"), "", "[CLASS:"&$ClassName&"; INSTANCE:1]", "primary")
When I am running this script it just gives me a ConsoleWrite output of "0x001D04A8"
When using "AutoIT v3 Window Info" all the info I need for the ControlClick is there and displayed perfectly as if I typed it in normally.
Upon click the button it should be clicking it, I see the following inn the console window:
If I replace the $ClassName with the actual ClassName of "WindowsForms10.BUTTON.app.0.3296db7_r14_ad1" it works just fine, any ideas???