I'm running a program after Windows 10 starts up and it gives me the dialog box attached. All I need to do is automate clicking the OK button. The script I've written isn't working :
WinActivate("RoomView Express Login")
If WinActivate("RoomView Express Login") Then
ControlClick("RoomView Express Login", "", "[CLASS:Button; INSTANCE:3]")
EndIf
How to correctly do this? I've attached AutoIt Window Info of the button.