@WINTITLE[pid]:  Returns the window title of the process with the specified process ID.

 

Example:

 

echo %@wintitle[15380]

TCC Prompt