@WINPOS |
@WINPOS[title]: Returns the screen coordinates of the window with the specified title, in the format "top,left,bottom,right".
If the title argument begins with a =, it is assumed to be a PID instead of a window title.
Example:
echo %@winpos[TCC Prompt]
25,25,367,702