How can I find out which screen (when using multiple monitors) has the active windows on it?
You can use the SCREENINDEX(Front) function.
For more information, see the wiki Searching the Forum for Answers section.