here is my code.
Code: Select all
DetectHiddenWindows, On
;MSIafterburner info
MSIABTitle := "MSI Afterburner"
MSIABClass := "Afx:00400000:20:00010003:00000000:00000000"
IfWinExist, %MSIABTitle%
{
;WinGetPos, Xpos, Ypos
WinShow
WinRestore
WinActivate
Msgbox found!
;Msgbox found! at %Xpos%,%Ypos%
}
else
{
Msgbox 404 not found
}
the window exist but can't activate
after some try and error here is what I found
-when minimize afterburner it go to tray icon not taskbar.
-it seem like when minimize afterburner it just hide the window or something, because I can get win position when minimize and it is the same position as when it active.
-I also use WinShow and WinRestore but still not working
-I also try using ahk_class, but still the same.
is there any way to make this work?
also, here is MSI afterburner download link : https://www.msi.com/page/afterburner