Code: Select all
WinGet, Style, Style, My Window Title
if (Style & 0x8000000) ; 0x8000000 is WS_DISABLED.
... the window is disabled, so perform appropriate action.
& is deffernce and?
Code: Select all
WinGet, Style, Style, My Window Title
if (Style & 0x8000000) ; 0x8000000 is WS_DISABLED.
... the window is disabled, so perform appropriate action.
Code: Select all
VarA := 1
VarB := 2
if (VarA = 1) && (VarB = 2)
if (VarA = 1) AND (VarB = 2)
if (VarA = 1) || (VarB = 2)
if (VarA = 1) OR (VarB = 2)
Users browsing this forum: Google [Bot], Rohwedder and 131 guests