Identify screen that has active window on it

How can I find out which screen (when using multiple monitors) has the active windows on it?

You can use the SCREENINDEX(Front) function.

2 Likes