@MYWINDOW — Returns information about TCC’s display window.

Syntax:
%@MYWINDOW[n]

nwhich information to return:
    0 - the window’s handle in hex with a leading 0x
    1 - the window’s handle in hex, no leading 0x
    2 - the window’s handle in decimal
    3 - the display window type as an integer
    4 - the display window type as a string
    8 - the window’s current title
    9 - the window’s class name
    10 - the window’s position, as per @WINPOS: top,left,bottom,right
    11 - the window’s size, as per @WINSIZE: height,width
    12 - the window’s size and position, in POS= args order: left,top,width,height
    13 - the window’s current state, as per @WINSTATE
    14 - the window’s state, as a string
    15 - nonzero if the window is currently in the tray, zero if not
    16 - the monitor on which the window appears
    17 - the process ID (PID) of the program that created the window (hex, with a leading 0x)
    18 - the thread ID of the thread that created the window (hex, with a leading 0x)
    19 - the filename of the program that created the window
    20 - the name of the window’s virtual desktop
    21 - the GUID of the window’s virtual desktop
    22 - the handle of the tray manager’s window, or 0 if it is not loaded

If n is not specified, it defaults to 0.