Code: Select all
DetectHiddenText, on
DetectHiddenWindows, on
IfWinExist, ahk_exe Launcher_Main.exe
{
ControlGet, OutputVar, Visible,, pushButtonRecordMovie, ahk_class QWidget
MsgBox % OutputVar
return
}
else
ExitApp
Code: Select all
DetectHiddenText, on
DetectHiddenWindows, on
IfWinExist, ahk_exe Launcher_Main.exe
{
ControlGet, OutputVar, Visible,, pushButtonRecordMovie, ahk_class QWidget
MsgBox % OutputVar
return
}
else
ExitApp
I didn’t finish writing the video a bit, before opening WinSpy, I also pressed the buttons in the window, but the Msgbox was empty