Syntax

this window

output name of this window

Explanation

Gives you the window in the frontmost non-floating window. (I.e. skipping any palette windows floating above it)