For example, in Notepad check if the status bar is currently visible:
Code: Select all
ControlGet ctrlVisible, Visible,, Windows.UI.Composition.DesktopWindowContentBridge5, a ;"Windows.UI.Composition.DesktopWindowContentBridge5" is the status bar control name, Win11
If (ctrlVisible){
MsgBox, found
}
Else{
MsgBox, not found
}
Here is attempt, I constructed this from a answer I found:
Code: Select all
If (WinExist(wintitle, "Windows.UI.Composition.DesktopWindowContentBridge5"))
MsgBox, found
else
MsgBox, Not found
Has anyone had any luck with this?