How can I get the layout of the foreground application?

Printable View