@WINSNAPPED — Tests whether
a window has been “snapped” to the edge.
Syntax:
%@WINSNAPPED[window,flags]
| window | window title, program name, PID, or HWND |
| flags | (not used in this version) |
@WINSNAPPED returns nonzero if the window is snapped,
0 if it is not.
Window
snapping is supported in Windows 10 and later. Under earlier versions of
Windows, @WINSNAPPED will always return 0. If no
matching window is found, the return value is also 0.
@WINSNAPPED gives you access to the Windows
IsWindowArranged()
function.